aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules
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 /com32/modules
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 'com32/modules')
-rw-r--r--com32/modules/prdhcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/modules/prdhcp.c b/com32/modules/prdhcp.c
index e1785a03..4ae295e8 100644
--- a/com32/modules/prdhcp.c
+++ b/com32/modules/prdhcp.c
@@ -39,11 +39,11 @@
#include <unistd.h>
#include <getkey.h>
-#define DEBUG 0
+#define PRDHCP_DEBUG 0
#define dprintf0(f, ...) ((void)0)
-#ifdef DEBUG
+#ifdef PRDHCP_DEBUG
# define dpressanykey pressanykey
# define dprintf printf
# define dprint_pxe_bootp_t print_pxe_bootp_t