summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 1d3f6162f4..930386ef3a 100755
--- a/configure
+++ b/configure
@@ -2196,6 +2196,7 @@ if x86 ; then
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 @@ EOF
# 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