mirror of
https://github.com/mpv-player/mpv
synced 2025-03-29 23:07:56 +00:00
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:
parent
8b8214c58e
commit
cef8c72bae
5
configure
vendored
5
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user