aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-07-05 13:50:34 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-07-05 13:50:34 +0100
commit89794a3d0b8659e2a143faeffc77877b45754c52 (patch)
tree06d42da7f6e4f5a5d7f6327a0546459ce966a9a5 /mk
parent27df69de0dea04dfcb6627cc55ffeeb93d698b26 (diff)
parent467666edae5bbdb4ab33ba397b70fe7209a7e633 (diff)
downloadsyslinux-89794a3d0b8659e2a143faeffc77877b45754c52.tar.gz
syslinux-89794a3d0b8659e2a143faeffc77877b45754c52.tar.xz
syslinux-89794a3d0b8659e2a143faeffc77877b45754c52.zip
Merge branch 'dynamic-debug' into elflinksyslinux-5.11-pre8
Diffstat (limited to 'mk')
-rw-r--r--mk/devel.mk1
-rw-r--r--mk/elf.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/mk/devel.mk b/mk/devel.mk
index d1a5fff2..041e876e 100644
--- a/mk/devel.mk
+++ b/mk/devel.mk
@@ -2,3 +2,4 @@
GCCWARN += -Wno-clobbered
#GCCWARN += -DDEBUG_MALLOC
# GCCWARN += -DDEBUG_PORT=0x3f8 -DDEBUG=1
+GCCWARN += -DDYNAMIC_DEBUG
diff --git a/mk/elf.mk b/mk/elf.mk
index 109e0a65..8bc6be08 100644
--- a/mk/elf.mk
+++ b/mk/elf.mk
@@ -42,7 +42,7 @@ GPLLIB =
GPLINCLUDE =
endif
-CFLAGS = $(GCCOPT) -W -Wall -march=i386 \
+CFLAGS = $(GCCOPT) $(GCCWARN) -W -Wall -march=i386 \
-fomit-frame-pointer -D__COM32__ -DDYNAMIC_MODULE \
-nostdinc -iwithprefix include \
-I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \