Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/aida-x/PKGBUILD
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-08-23 23:44:58 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-08-23 23:44:58 +0300
commit7c3b586a92909e85c160b4642a0c5a0e167f7d0f (patch)
tree78b7bd2b6fbb7244dfdb34632a7c36870ce8481d /extra/aida-x/PKGBUILD
parent1e798e3d0a20dd3a1dd9c6934a97c781271f16f4 (diff)
extra/aida-x: Enable SSE for i686
Diffstat (limited to 'extra/aida-x/PKGBUILD')
-rw-r--r--extra/aida-x/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/aida-x/PKGBUILD b/extra/aida-x/PKGBUILD
index 35dc4e05..dff76157 100644
--- a/extra/aida-x/PKGBUILD
+++ b/extra/aida-x/PKGBUILD
@@ -1 +1,12 @@
+# This requires SSE, so enable it on i686
+
+if [ "$CARCH" = "i686" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ 3 i export CXXFLAGS="$CXXFLAGS -msse" CFLAGS="$CFLAGS -msse"
+ '
+ )"
+fi
+
eval "$(declare -f package_aida-x-vst3 | sed 's@\$CARCH@i386@g')"