Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/babl/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-25 20:38:14 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-25 20:38:14 +0200
commit3ec760d4924779cf1921df42eaf9d0f759e10399 (patch)
tree5f82d4b7dc72b6c686193fe3b32f78865f365ff1 /extra/babl/PKGBUILD
parentde317790336743800511569db3a4b61af8607630 (diff)
extra/babl: disable SSE2 for i486 and i686
Diffstat (limited to 'extra/babl/PKGBUILD')
-rw-r--r--extra/babl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/babl/PKGBUILD b/extra/babl/PKGBUILD
new file mode 100644
index 00000000..8569425e
--- /dev/null
+++ b/extra/babl/PKGBUILD
@@ -0,0 +1,9 @@
+# disable SSE2 on 486 and 686
+if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/configure/configure --disable-sse2/
+ '
+ )"
+fi