aboutsummaryrefslogtreecommitdiffstats
path: root/community/openal-soft
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-07 19:31:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-07 19:31:48 +0000
commitd69a3769efaffaac75b59cf9baffca9ca78ee6f6 (patch)
tree95f596e16c413a647a7613213118c20ae0c1f20a /community/openal-soft
parent11dc3f50161031eae74ef2698af02f9d27171c63 (diff)
downloadaports-d69a3769efaffaac75b59cf9baffca9ca78ee6f6.tar.bz2
aports-d69a3769efaffaac75b59cf9baffca9ca78ee6f6.tar.xz
commuinty/openal-soft: disable neon on armhf
Diffstat (limited to 'community/openal-soft')
-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
}