File: do-not-strip-debugging-symbols.patch

package info (click to toggle)
octave-secs2d 0.0.8-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: cpp: 275; makefile: 80; sh: 4
file content (23 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Do not strip the debugging symbols from the *.oct files
 Also, include the -g option to enable debugging option for all
 compilers.
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/?55345
Last-Update: 2018-12-30

--- a/src/Makefile
+++ b/src/Makefile
@@ -13,11 +13,11 @@
 	$(MKOCTFILE) -c $(patsubst %.o, %.cc, $@ ) -o $@
 
 Uscharfettergummel.oct: Uscharfettergummel.o Ubern.o
-	$(MKOCTFILE) -s $< Ubern.o -o $@
+	$(MKOCTFILE) -g $< Ubern.o -o $@
 	$(RM) Uscharfettergummel.o
 
 %.oct:  %.o  
-	$(MKOCTFILE) -s $< -o $@
+	$(MKOCTFILE) -g $< -o $@
 	#strip -x $@
 
 clean: