mplayer: runtime cpudetection is broken on ppc, disable altivec
[ci skip]
This commit is contained in:
parent
ee8d222197
commit
3bfc1ec5d9
1 changed files with 3 additions and 4 deletions
|
@ -32,13 +32,12 @@ conf_files="
|
|||
do_configure() {
|
||||
sed 's|-march=i486||g' -i configure
|
||||
|
||||
# we tried runtime cpudetection for ppc32 but stuff's broken
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*|ppc*) configure_args+=" --enable-vdpau --enable-runtime-cpudetection";;
|
||||
i686*|x86_64*|ppc64*) configure_args+=" --enable-vdpau --enable-runtime-cpudetection";;
|
||||
ppc*) configure_args+=" --enable-vdpau --disable-altivec";;
|
||||
esac
|
||||
|
||||
# we enable runtime cpu detection for ppc, let the altivec bits build
|
||||
export CFLAGS="${CFLAGS/-mno-altivec}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-gui --disable-arts --disable-liblzo --disable-speex \
|
||||
--disable-openal --disable-libdv --disable-musepack --disable-esd \
|
||||
|
|
Loading…
Reference in a new issue