[syslinux:master] MCONFIG: add debugging version of GCCWARN

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Jan 10 13:24:06 PST 2010


Commit-ID:  1da816e5101d61edc8a01e3c76a1b89933a8b863
Gitweb:     http://syslinux.zytor.com/commit/1da816e5101d61edc8a01e3c76a1b89933a8b863
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 10 Jan 2010 13:22:30 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 10 Jan 2010 13:22:30 -0800

MCONFIG: add debugging version of GCCWARN

Add the options that help smoke out bugs.

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


---
 MCONFIG |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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



More information about the Syslinux-commits mailing list