[MPlayer-cvslog] r33532 - trunk/configure
iive
subversion at mplayerhq.hu
Tue May 31 22:45:42 CEST 2011
Author: iive
Date: Tue May 31 22:45:39 2011
New Revision: 33532
Log:
Automatically add "-fno-tree-vectorize" in CFLAGS.
Automatic tree vectorization is enabled for high optimization levels
(-O3 and above). However it have long history of breaking code.
Latest been with gcc-4.6.0 and "-march=corei7-avx -O3".
FFmpeg also disables it.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon May 30 23:31:31 2011 (r33531)
+++ trunk/configure Tue May 31 22:45:39 2011 (r33532)
@@ -2587,6 +2587,7 @@ else
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 -Wdeclaration-after-statement && WARN_CFLAGS="-Wdeclaration-after-statement $WARN_CFLAGS"
More information about the MPlayer-cvslog
mailing list