[MPlayer-dev-eng] [PATCH] Disable optimizations when compiling with icc
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Jun 10 01:56:19 CEST 2007
Hi!
icc doesn't support __attribute__((used)), so compilation with asm code
is impossible atm.
Following patch disables mmx etc. in configure if not forced to make
compilation with icc easier.
Ok?
Carl Eugen
Index: configure
===================================================================
--- configure (Revision 23529)
+++ configure (Arbeitskopie)
@@ -1361,6 +1361,13 @@
;;
esac
echores "$cc_version"
+ test "$_mmx" = auto && _mmx=no
+ test "$_3dnow" = auto && _3dnow=no
+ test "$_3dnowext" = auto && _3dnowext=no
+ test "$_mmxext" = auto && _mmxext=no
+ test "$_sse" = auto && _sse=no
+ test "$_sse2" = auto && _sse2=no
+ test "$_ssse3" = auto && _ssse3=no
else
for _cc in "$_cc" gcc gcc-3.4 gcc-3.3 gcc-3.2 gcc-3.1 gcc3 gcc-3.0 cc ; do
echocheck "$_cc version"
More information about the MPlayer-dev-eng
mailing list