From 28e9fa9893c0771a38ea2dc8c7829615dda167f0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 16 Dec 2007 00:44:38 +0000 Subject: Compile with -Wundef to warn about undefined macros. --- infrastructure/makebuildenv.pl.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'infrastructure/makebuildenv.pl.in') 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 = -- cgit v1.2.3