index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-08-23 23:49:35 +0300 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-08-23 23:49:35 +0300 |
commit | 2b9627ee087150c867f78abd352b9de6a95e573e (patch) | |
tree | ca82858158ece75224a250072cf99321d8d7c60c /extra | |
parent | 9f811c914d10a6391dc8de0971453d7aca7081e5 (diff) |
-rw-r--r-- | extra/stochas/PKGBUILD | 11 |
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')" |