# HG changeset patch # User diego # Date 1147298430 0 # Node ID c459df5e8afd082a8cf98d3f40a35ea11bbb2b44 # Parent 2306dcaa256f5fd300dbd6a2931da0699efaa2d1 Feed AltiVec compiler options into CFLAGS explicitly. diff -r 2306dcaa256f -r c459df5e8afd configure --- a/configure Wed May 10 18:31:53 2006 +0000 +++ b/configure Wed May 10 22:00:30 2006 +0000 @@ -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