Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/stochas/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/stochas/PKGBUILD b/extra/stochas/PKGBUILD
index 64b12253..734814d5 100644
--- a/extra/stochas/PKGBUILD
+++ b/extra/stochas/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_stochas-vst3 | sed 's@\$CARCH@i386@g')"