From d2dff1b1094f5852582b7e77fe8db9ab2a74fb6b Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 15 Aug 2019 17:06:24 +0200 Subject: [PATCH] mplayer: fix ppc32 builds [ci skip] --- srcpkgs/mplayer/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mplayer/template b/srcpkgs/mplayer/template index 8b1acdaf6d..7b2a0c27e7 100644 --- a/srcpkgs/mplayer/template +++ b/srcpkgs/mplayer/template @@ -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 \