summaryrefslogtreecommitdiff
path: root/MCONFIG
diff options
context:
space:
mode:
Diffstat (limited to 'MCONFIG')
-rw-r--r--MCONFIG5
1 files changed, 5 insertions, 0 deletions
diff --git a/MCONFIG b/MCONFIG
index b84e6c56..72f7f525 100644
--- a/MCONFIG
+++ b/MCONFIG
@@ -62,6 +62,11 @@ WGET = wget
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