index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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 |