summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2004-11-23 23:52:45 +0000
committerhpa <hpa>2004-11-23 23:52:45 +0000
commit0ca52653b5fae40451d56815af9f180e2814737d (patch)
treefdeceb1f39f0c9b3d54e16141d028a7fdbe36a0f
parent3eaa68f9163cc890dde3733b2dfa9ec0f774c360 (diff)
downloadsyslinux-0ca52653b5fae40451d56815af9f180e2814737d.tar.gz
Enable debugging symbols to be included in the .elf file.
-rw-r--r--com32/lib/MCONFIG2
-rw-r--r--com32/modules/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index 06136641..c79e1f84 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -8,7 +8,7 @@ PERL = perl
STRIP = strip --strip-all -R .comment -R .note
OBJCOPY = objcopy
-REQFLAGS = -m32 -I. -I./sys -I../include
+REQFLAGS = -g -m32 -I. -I./sys -I../include
OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-labels=0
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index dfd6a3bb..af72f6bd 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
@@ -27,7 +27,7 @@ NASM = nasm
RANLIB = ranlib
CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../include
SFLAGS = -march=i386
-LDFLAGS = -s -T ../lib/com32.ld
+LDFLAGS = -T ../lib/com32.ld
OBJCOPY = objcopy
PPMTOLSS16 = ../ppmtolss16
LIB = ../lib/libcom32.a