diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-23 07:55:47 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-23 07:55:47 +0000 |
commit | dc33991b883b31b0d97893f0cc94390f9110e786 (patch) | |
tree | 489f6e2d10272b35ff4c9a78e75718756dd57fdf /configure | |
parent | 9c856aeffe6bfa0433df8a4bcfba1fb75b63c23a (diff) | |
download | mpv-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-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |