Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mesa
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-14 08:05:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-14 08:05:18 +0200
commit87a41c8b45101918b6c2178da7bcaf1085981a7f (patch)
tree55fce650c12660696a5d7652536233fd61d7c8a3 /extra/mesa
parentad3df113d1e8856c2732ad55f25fbccdf78ebe03 (diff)
extra/mesa: disabled AVX/AVX2 optimizations
Diffstat (limited to 'extra/mesa')
-rw-r--r--extra/mesa/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
new file mode 100644
index 00000000..50f4397b
--- /dev/null
+++ b/extra/mesa/PKGBUILD
@@ -0,0 +1,7 @@
+# disable AVX/AVX2 in openswf, makes no sense with old CPUs
+eval "$(
+ declare -f build | \
+ sed '
+ s/-D swr-arches=avx,avx2//g
+ '
+)"