summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-10 22:00:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-10 22:00:30 +0000
commitcef8c72baee64dd00413e6f31ef2049ee1211d33 (patch)
tree8cfc26239af570a2e61fde1016a21736422a9e0e /configure
parent8b8214c58ed6d201aa4a6160a1fab74c0c2dc8ab (diff)
downloadmpv-cef8c72baee64dd00413e6f31ef2049ee1211d33.tar.bz2
mpv-cef8c72baee64dd00413e6f31ef2049ee1211d33.tar.xz
Feed AltiVec compiler options into CFLAGS explicitly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18428 b3059339-0415-0410-9bf9-f77b7e298cf2
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