aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-30 11:16:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-30 11:18:56 +0000
commit2b4535bd3025886a5237ecf385fe5f92b8c28da2 (patch)
treeae6986f6c9901168ee5c415ec650d28edce3c4f1 /main/mesa
parent9c088d864238c2e2232ebc8a623a03b8d8e09566 (diff)
downloadaports-2b4535bd3025886a5237ecf385fe5f92b8c28da2.tar.bz2
aports-2b4535bd3025886a5237ecf385fe5f92b8c28da2.tar.xz
main/mesa: build fix for armhf
mesa will detect neon at runtime so we enable it https://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/vc4?id=ece06defe77a77d2db40abeddee5a2e0e45654ce
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 5993a95dbe..82ccaf5277 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -52,6 +52,9 @@ x86*)
;;
arm*)
_gallium_drivers="${_gallium_drivers},vc4"
+ case "$CARCH" in
+ armhf) CFLAGS="$CFLAGS -mfpu=neon";;
+ esac
;;
esac