diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-12-16 00:44:38 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-12-16 00:44:38 +0000 |
commit | 28e9fa9893c0771a38ea2dc8c7829615dda167f0 (patch) | |
tree | 13c08fe2c6a07d4522a7d831d436c9c49264141c | |
parent | 73d4e54dd52eaa69b227c23ba7340dd46ce6335b (diff) |
Compile with -Wundef to warn about undefined macros.
-rwxr-xr-x | infrastructure/makebuildenv.pl.in | 4 |
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 = |