mirror of https://github.com/mpv-player/mpv
libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX
patch by Romain Dolbeau <dolbeau@irisa.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8862 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3a250d3760
commit
38042349b0
|
@ -4622,6 +4622,8 @@ fi
|
|||
if darwin ; then
|
||||
# use gnu style cpp on Darwin
|
||||
CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN"
|
||||
# libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX
|
||||
test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN"
|
||||
fi
|
||||
if hpux ; then
|
||||
# use flag for HPUX missing setenv()
|
||||
|
|
Loading…
Reference in New Issue