summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-23 07:55:47 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-23 07:55:47 +0000
commitdc33991b883b31b0d97893f0cc94390f9110e786 (patch)
tree489f6e2d10272b35ff4c9a78e75718756dd57fdf /configure
parent9c856aeffe6bfa0433df8a4bcfba1fb75b63c23a (diff)
downloadmpv-dc33991b883b31b0d97893f0cc94390f9110e786.tar.bz2
mpv-dc33991b883b31b0d97893f0cc94390f9110e786.tar.xz
Add -Wmissing-prototypes to CFLAGS if available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30719 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 93b02eecf3..6e485ece3d 100755
--- a/configure
+++ b/configure
@@ -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