[MPlayer-cvslog] r38457 - trunk/configure

al subversion at mplayerhq.hu
Tue Apr 9 00:42:44 EEST 2024


Author: al
Date: Tue Apr  9 00:42:44 2024
New Revision: 38457

Log:
configure: Set C standard to C11

That is the minimum requirement for current FFmpeg git version.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Apr  9 00:41:15 2024	(r38456)
+++ trunk/configure	Tue Apr  9 00:42:44 2024	(r38457)
@@ -3003,7 +3003,7 @@ fi
 if test "$cc_vendor" = "gnu" ; then
   cflag_check -fno-tree-vectorize && CFLAGS="$CFLAGS -fno-tree-vectorize"
   cflag_check -Wundef && WARNFLAGS="-Wundef $WARNFLAGS"
-  cflag_check -std=gnu99 && WARN_CFLAGS="-std=gnu99 $WARN_CFLAGS"
+  cflag_check -std=c11 && WARN_CFLAGS="-std=c11 $WARN_CFLAGS"
   cflag_check -Wdeclaration-after-statement && WARN_CFLAGS="-Wdeclaration-after-statement $WARN_CFLAGS"
   cflag_check -Wno-pointer-sign && WARN_CFLAGS="-Wno-pointer-sign $WARN_CFLAGS"
   cflag_check -Wdisabled-optimization && WARN_CFLAGS="-Wdisabled-optimization $WARN_CFLAGS"


More information about the MPlayer-cvslog mailing list