summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-14 22:58:20 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-14 22:58:20 +0000
commit0dd44a006efea7d3b7ac62e83a8ffe13f7930229 (patch)
treed1c5803f56aab5056cbca59def7ffa09f45b2dd5 /configure
parent70fafd780384c6ba348bf3a111347b52d1087d74 (diff)
downloadmpv-0dd44a006efea7d3b7ac62e83a8ffe13f7930229.tar.bz2
mpv-0dd44a006efea7d3b7ac62e83a8ffe13f7930229.tar.xz
Add -Wstrict-prototypes to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30891 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 7e7f8de472..06e35169be 100755
--- a/configure
+++ b/configure
@@ -2519,6 +2519,7 @@ if test "$cc_vendor" = "gnu" ; then
cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
cc_check -Wundef && CFLAGS="-Wundef $CFLAGS"
cc_check -Wmissing-prototypes && CFLAGS="-Wmissing-prototypes $CFLAGS"
+ cc_check -Wstrict-prototypes && CFLAGS="-Wstrict-prototypes $CFLAGS"
else
CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS"
fi