aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-05 15:18:56 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-05 15:19:18 -0700
commit10098349072bb90f2203d6957a0cdfd39b054d03 (patch)
tree019e4cd424e860b52dc57c8e1d2c512e8efbe211
parente63132bf03140d91ec74eca663f7bc2f16429fb0 (diff)
downloadsyslinux.git-10098349072bb90f2203d6957a0cdfd39b054d03.tar.gz
syslinux.git-10098349072bb90f2203d6957a0cdfd39b054d03.tar.xz
syslinux.git-10098349072bb90f2203d6957a0cdfd39b054d03.zip
core: actually enable debugging info
Need to use -g -F stabs, not just -F stabs.
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index 3e8fd7f5..f763b0b3 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -104,7 +104,7 @@ iso%.bin: iso%.elf
$(OBJCOPY) -O binary $< $@
%.o: %.asm kwdhash.gen ../version.gen
- $(NASM) $(NASMOPT) -f elf -F stabs -DDATE_STR="'$(DATE)'" \
+ $(NASM) $(NASMOPT) -f elf -g -F stabs -DDATE_STR="'$(DATE)'" \
-DHEXDATE="$(HEXDATE)" \
-l $(@:.o=.lsr) -o $@ $<