From 26baf6ee4e010ad434c4b3c3d4bd4c7ebf981ecc Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 1 Aug 2018 17:40:15 -0500 Subject: user/mlt: fix pmmx build --- user/mlt/APKBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'user/mlt/APKBUILD') diff --git a/user/mlt/APKBUILD b/user/mlt/APKBUILD index 39f3fb299..0e2bda030 100644 --- a/user/mlt/APKBUILD +++ b/user/mlt/APKBUILD @@ -18,6 +18,12 @@ source="https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgv build() { cd "$builddir" + local _maybe_asm="" + + case $CTARGET_ARCH in + pmmx) _maybe_asm="--disable-sse --target-arch=i586" ;; + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -29,7 +35,8 @@ build() { --enable-motion-est \ --enable-gpl \ --enable-gpl3 \ - --disable-rtaudio + --disable-rtaudio \ + $_maybe_asm make } -- cgit v1.2.3-70-g09d2