summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-30 21:45:54 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-30 21:45:54 +0000
commit7e85d78826eecba6a92665c3add6aea2b584ebe6 (patch)
tree0ad2799f50083d51ce41046194b86d2220683df4 /configure
parentc54982e5da563caa8337c8f4cab925cf951f1e89 (diff)
downloadmpv-7e85d78826eecba6a92665c3add6aea2b584ebe6.tar.bz2
mpv-7e85d78826eecba6a92665c3add6aea2b584ebe6.tar.xz
Add -Wundef to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28393 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 72a14613a8..21fb236247 100755
--- a/configure
+++ b/configure
@@ -7884,6 +7884,7 @@ if test "$cc_vendor" = "gnu" ; then
cc_check -Wdeclaration-after-statement && CFLAGS="-Wdeclaration-after-statement $CFLAGS"
cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
+ cc_check -Wundef && CFLAGS="-Wundef $CFLAGS"
else
CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
fi