From 2b9627ee087150c867f78abd352b9de6a95e573e Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Fri, 23 Aug 2024 23:49:35 +0300 Subject: extra/stochas: Enable SSE for i686 --- extra/stochas/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra/stochas') 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')" -- cgit v1.2.3-70-g09d2