index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-06 07:10:48 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-06 07:10:48 +0200 |
commit | 025a30f6d20b4d14b6b55f9cd5f004630d7f4400 (patch) | |
tree | d9c7c2165f12a49e7b36119b59e21076c3269e44 /community/gdal | |
parent | 69e9bea640ba218eaed7ec75f992de5925ec3fbd (diff) |
-rw-r--r-- | community/gdal/PKGBUILD | 18 |
diff --git a/community/gdal/PKGBUILD b/community/gdal/PKGBUILD index 6aa81b69..f2c3ce89 100644 --- a/community/gdal/PKGBUILD +++ b/community/gdal/PKGBUILD @@ -1,3 +1,21 @@ +# enable SSE/SSE2 where appripriate +if [ "${CARCH}" = "i486" -o "${CARCH}" = "i686" ]; then + eval "$( + declare -f build | \ + sed ' + s|./configure |./configure --with-sse=no --with-sse3-no --with-avx=no | + ' + )" +fi +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f build | \ + sed ' + s|./configure |./configure --with-sse=yes --with-ssse3-no --with-avx=no | + ' + )" +fi + # no mariadb yet on i486 if [ "${CARCH}" = "i486" ]; then depends=(${depends[@]//mariadb-libs/}) |