mirror of https://github.com/mpv-player/mpv
Add -Wmissing-prototypes to CFLAGS if available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30719 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9c856aeffe
commit
dc33991b88
|
@ -2534,6 +2534,7 @@ if test "$cc_vendor" = "gnu" ; then
|
|||
cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
|
||||
cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
|
||||
cc_check -Wundef && CFLAGS="-Wundef $CFLAGS"
|
||||
cc_check -Wmissing-prototypes && CFLAGS="-Wmissing-prototypes $CFLAGS"
|
||||
else
|
||||
CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue