summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 13:22:30 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 13:22:30 -0800
commit1da816e5101d61edc8a01e3c76a1b89933a8b863 (patch)
treea43462d77f37ea072995d0e323455affc96bd391
parent3e1e94276c2917b98d62286529b605931a721dbc (diff)
downloadsyslinux-3.85-pre2.tar.gz
MCONFIG: add debugging version of GCCWARNsyslinux-3.85-pre2
Add the options that help smoke out bugs. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--MCONFIG2
1 files changed, 2 insertions, 0 deletions
diff --git a/MCONFIG b/MCONFIG
index c73520bd..e9c16d38 100644
--- a/MCONFIG
+++ b/MCONFIG
@@ -62,6 +62,8 @@ com32 = $(topdir)/com32
# Common warnings we want for all gcc-generated code
GCCWARN := -W -Wall -Wstrict-prototypes
+# Extremely useful variant for debugging...
+#GCCWARN += -Wno-clobbered -Werror
# Common stanza to make gcc generate .*.d dependency files
MAKEDEPS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d