summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-02 00:54:56 +0100
committerwm4 <wm4@nowhere>2014-02-02 00:54:56 +0100
commitfc541ab4f5932294b292f189731af880825547af (patch)
tree31339dd38f02a7066e274fcf8a855c0abbced15b
parent74b8223da65dca79b0daf2b89b8b6fb6ca81293b (diff)
downloadmpv-fc541ab4f5932294b292f189731af880825547af.tar.bz2
mpv-fc541ab4f5932294b292f189731af880825547af.tar.xz
old-configure: use -std=c99
See previous commit.
-rwxr-xr-xold-configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/old-configure b/old-configure
index 16a43e4d7b..8dffab00f7 100755
--- a/old-configure
+++ b/old-configure
@@ -1169,10 +1169,10 @@ fi
if test "$cc_vendor" = "gnu" ; then
cflag_check -Wundef && WARNFLAGS="-Wundef $WARNFLAGS"
- # -std=gnu99 is not a warning flag but is placed in WARN_CFLAGS because
+ # -std=c99 is not a warning flag but is placed in WARN_CFLAGS because
# that's the only variable specific to C now, and this option is not valid
# for C++.
- cflag_check -std=gnu99 && WARN_CFLAGS="-std=gnu99 $WARN_CFLAGS"
+ cflag_check -std=c99 && WARN_CFLAGS="-std=c99 $WARN_CFLAGS"
cflag_check -Wno-pointer-sign && WARN_CFLAGS="-Wno-pointer-sign $WARN_CFLAGS"
cflag_check -Wdisabled-optimization && WARN_CFLAGS="-Wdisabled-optimization $WARN_CFLAGS"
cflag_check -Wmissing-prototypes && WARN_CFLAGS="-Wmissing-prototypes $WARN_CFLAGS"