From 9d8fceff4200fc464d8e12f532f4841e8cca45b8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 1 Aug 2018 05:29:35 +0000 Subject: user/x264: fix build on pmmx --- user/x264/APKBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'user/x264') diff --git a/user/x264/APKBUILD b/user/x264/APKBUILD index 81412a1bb..edae76ade 100644 --- a/user/x264/APKBUILD +++ b/user/x264/APKBUILD @@ -8,7 +8,9 @@ arch="all" license="GPL-2.0+" options="textrels" makedepends="bash coreutils libx11-dev perl" -[ $CARCH == x86_64 ] && makedepends="$makedepends yasm" +case $CTARGET_ARCH in + x86_64) makedepends="$makedepends yasm";; +esac subpackages="$pkgname-dev $pkgname-libs" source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2" builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable" @@ -19,7 +21,7 @@ build() { local asmopts= case "$CARCH" in # ppc requires AltiVec, we run on G3s - ppc) asmopts="--disable-asm" ;; + ppc | pmmx) asmopts="--disable-asm" ;; # VSX was added in power8 ppc64) asmopts="--disable-vsx" ;; esac -- cgit v1.2.3-70-g09d2