diff options
author | wm4 <wm4@nowhere> | 2014-02-02 00:54:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-12 22:29:50 +0100 |
commit | 4b764b6cc64e72072b8f8201329570607792f4a1 (patch) | |
tree | fb41294d3d22b0a664dc9c619524727b5079ca26 | |
parent | 7b7c31b19071f65390ba8201ca6b8d4e3ab61bfb (diff) | |
download | mpv-4b764b6cc64e72072b8f8201329570607792f4a1.tar.bz2 mpv-4b764b6cc64e72072b8f8201329570607792f4a1.tar.xz |
old-configure: use -std=c99
See previous commit.
-rwxr-xr-x | old-configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/old-configure b/old-configure index 763d95b227..d3d6cf98ea 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" |