diff options
Diffstat (limited to 'main/wavpack/APKBUILD')
-rw-r--r-- | main/wavpack/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/wavpack/APKBUILD b/main/wavpack/APKBUILD index 25a907e92a..284b790b4e 100644 --- a/main/wavpack/APKBUILD +++ b/main/wavpack/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=wavpack pkgver=4.70.0 -pkgrel=1 +pkgrel=2 pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes" url="http://www.wavpack.com/" arch="all" @@ -31,6 +31,12 @@ prepare() { build() { cd "$_builddir" + + local _arch_opts= + case "$CARCH" in + x86 | x86_64) _arch_opts="--enable-mmx" ;; + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -38,8 +44,8 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-mmx \ --disable-static \ + $_arch_opts \ || return 1 make || return 1 } |