aboutsummaryrefslogtreecommitdiffstats
path: root/community/openal-soft/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/openal-soft/APKBUILD')
-rw-r--r--community/openal-soft/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/community/openal-soft/APKBUILD b/community/openal-soft/APKBUILD
index 5d9101d8b5..b6e065ceae 100644
--- a/community/openal-soft/APKBUILD
+++ b/community/openal-soft/APKBUILD
@@ -30,8 +30,15 @@ prepare() {
}
build() {
+ local _cpuext_neon=
cd "$_builddir"
- cmake -DCMAKE_INSTALL_PREFIX="/usr" "$_srcdir" || return 1
+ case "$CARCH" in
+ armhf) _cpuext_neon=-DALSOFT_CPUEXT_NEON=OFF;;
+ esac
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" \
+ $_cpuext_neon \
+ "$_srcdir" \
+ || return 1
make || return 1
}