mplayer: fix ppc32 builds

[ci skip]
This commit is contained in:
q66 2019-08-15 17:06:24 +02:00 committed by Helmut Pozimski
parent 9c39d98a60
commit d2dff1b109

View file

@ -33,9 +33,12 @@ do_configure() {
sed 's|-march=i486||g' -i configure
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64*) configure_args+=" --enable-vdpau --enable-runtime-cpudetection";;
i686*|x86_64*|ppc*) configure_args+=" --enable-vdpau --enable-runtime-cpudetection";;
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 \