Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-03-11 12:39:27 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-03-11 12:39:27 +0100
commit370491a2c3ec5cd1132662103aa935768d5b8c7b (patch)
treeeab4f646aa51bc629e432daed99717810ad5028a
parent52d2f36cbae3b1ce618074ce05b8892ddae80f40 (diff)
extra/flac: no SSE on i686 and i486
-rw-r--r--extra/flac/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD
index 2f1f141b..76e5bdc2 100644
--- a/extra/flac/PKGBUILD
+++ b/extra/flac/PKGBUILD
@@ -13,3 +13,11 @@ eval "$(
patch -Np1 -i "$srcdir/flac-1.3.4-no-mstackrealign-for-nasm.patch"
'
)"
+
+# disable SSE on i686 and i486
+eval "$(
+ declare -f build | \
+ sed '
+ s/cmake -S/cmake -DWITH_SSE=OFF -S/
+ '
+)"