MCONFIG: add debugging version of GCCWARN syslinux-3.85-pre2
authorH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jan 2010 21:22:30 +0000 (13:22 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jan 2010 21:22:30 +0000 (13:22 -0800)
Add the options that help smoke out bugs.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
MCONFIG

diff --git a/MCONFIG b/MCONFIG
index c73520b..e9c16d3 100644 (file)
--- 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