diff options
Diffstat (limited to 'main/fftw/APKBUILD')
-rw-r--r-- | main/fftw/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD index 9df071f6d8..9bc7a4b46e 100644 --- a/main/fftw/APKBUILD +++ b/main/fftw/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=fftw pkgver=3.3.4 -pkgrel=1 +pkgrel=2 pkgdesc="fastest fourier transform in the west" url="http://www.fftw.org/" license="GPL" @@ -33,14 +33,14 @@ build() { long-double)_cf="--enable-long-double";; esac - if [ "$i" = "single" ] || [ "$i" = "double" ]; then - case "$CARCH" in - x86_64)_cf="$_cf --enable-sse2 --enable-avx";; - armhf)_cf="$_cf --enable-neon";; - esac - fi + case "$i--$CARCH" in + single--x86_64 | double--x86_64) + _cf="$_cf --enable-sse2 --enable-avx";; + single--arm*) + _cf="$_cf --enable-neon";; + esac - msg "Building for $i precision" + msg "Building for $i precision ($_cf)" cd "$_builddir"/$i ./configure \ --build=$CBUILD \ |