aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-07-05 11:33:26 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-07-05 13:05:16 +0100
commitbbd9262c2323c1df461f18fcfa2aed56cd2411ce (patch)
tree8443f2c3db44c833b9e5b9feefbb59aa7c686861 /mk
parent00d0f3add99de6d9c83ff2492bac175a5e1b8a11 (diff)
downloadsyslinux-bbd9262c2323c1df461f18fcfa2aed56cd2411ce.tar.gz
syslinux-bbd9262c2323c1df461f18fcfa2aed56cd2411ce.tar.xz
syslinux-bbd9262c2323c1df461f18fcfa2aed56cd2411ce.zip
mk: include $(GCCWARN) when building ELF objects
It's currently impossible to turn on dprintf() statements in com32/modules because $(GCCWARN) isn't used as part of $(CFLAGS). Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/elf.mk2
1 files changed, 1 insertions, 1 deletions
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) \