[MPlayer-cvslog] CVS: main configure,1.1190,1.1191

Diego Biurrun CVS syncmail at mplayerhq.hu
Thu May 11 00:00:34 CEST 2006


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv12761

Modified Files:
	configure 
Log Message:
Feed AltiVec compiler options into CFLAGS explicitly.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1190
retrieving revision 1.1191
diff -u -r1.1190 -r1.1191
--- configure	8 May 2006 21:41:14 -0000	1.1190
+++ configure	10 May 2006 22:00:30 -0000	1.1191
@@ -2196,6 +2196,7 @@
   fi
 fi
 
+#FIXME: This should happen before the check for CFLAGS..
 if ppc ; then
     
     # check if altivec is supported by the compiler, and how to enable it
@@ -2275,7 +2276,9 @@
     # if altivec is enabled, make sure the correct flags turn up in CFLAGS
 
     if test "$_altivec" = yes ; then
-        _mcpu="$_mcpu $_altivec_gcc_flags"
+        #FIXME: _mcpu is used for CFLAGS, this needs to be set earlier
+        #_mcpu="$_mcpu $_altivec_gcc_flags"
+        CFLAGS="$CFLAGS $_altivec_gcc_flags"
     fi
 
     # setup _def_altivec correctly




More information about the MPlayer-cvslog mailing list