mirror of https://github.com/mpv-player/mpv
Add -Wundef to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28393 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c54982e5da
commit
7e85d78826
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue