index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-27 17:48:10 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-27 17:48:10 +0200 |
commit | 9a7b521aea91454a31116123f18cd40b8aebd443 (patch) | |
tree | 725840b5894dd030360db1e59411c23aa9c75515 | |
parent | 208d9f0b12d6af46a1d7bd6c70d4ec9c6dce837b (diff) |
-rw-r--r-- | extra/graphene/PKGBUILD | 17 |
diff --git a/extra/graphene/PKGBUILD b/extra/graphene/PKGBUILD new file mode 100644 index 00000000..692e4c8e --- /dev/null +++ b/extra/graphene/PKGBUILD @@ -0,0 +1,17 @@ +# enable SSE2 optimizations only on pentium4 +if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then + eval "$( + declare -f build | \ + sed ' + s/arch-meson/arch-meson -D sse2=false/ + ' + )" +fi +if [ "$CARCH" = 'pentium4' ]; then + eval "$( + declare -f build | \ + sed ' + s/arch-meson/arch-meson -D sse2=true/ + ' + )" +fi |