summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-12-16 00:44:38 +0000
committerChris Wilson <chris+github@qwirx.com>2007-12-16 00:44:38 +0000
commit28e9fa9893c0771a38ea2dc8c7829615dda167f0 (patch)
tree13c08fe2c6a07d4522a7d831d436c9c49264141c
parent73d4e54dd52eaa69b227c23ba7340dd46ce6335b (diff)
Compile with -Wundef to warn about undefined macros.
-rwxr-xr-xinfrastructure/makebuildenv.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in
index a437053d..8664f3d7 100755
--- a/infrastructure/makebuildenv.pl.in
+++ b/infrastructure/makebuildenv.pl.in
@@ -531,13 +531,13 @@ RANLIB = "@RANLIB@"
PERL = "@PERL@"
WINDRES = windres
.ifdef RELEASE
-CXXFLAGS = -DNDEBUG $release_flags -Wall $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""
+CXXFLAGS = -DNDEBUG $release_flags -Wall -Wundef $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""
OUTBASE = ../../release
OUTDIR = ../../release/$mod
DEPENDMAKEFLAGS = -D RELEASE
VARIENT = RELEASE
.else
-CXXFLAGS = -g -Wall $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""
+CXXFLAGS = -g -Wall -Wundef $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""
OUTBASE = ../../debug
OUTDIR = ../../debug/$mod
DEPENDMAKEFLAGS =