Feed AltiVec compiler options into CFLAGS explicitly.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18428 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-05-10 22:00:30 +00:00
parent 8b8214c58e
commit cef8c72bae
1 changed files with 4 additions and 1 deletions

5
configure vendored
View File

@ -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