index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-03-31 14:57:29 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-03-31 14:57:29 +0200 |
commit | f7f3df0ec531498d4efc969d865901e4071adacd (patch) | |
tree | 7709ac92b85af220560173e8c5cf56d99236a601 /community | |
parent | 25a265aa7ac11662ba824662fa2f3fa8cf2cd505 (diff) |
-rw-r--r-- | community/crypto++/PKGBUILD | 9 |
diff --git a/community/crypto++/PKGBUILD b/community/crypto++/PKGBUILD new file mode 100644 index 00000000..23130381 --- /dev/null +++ b/community/crypto++/PKGBUILD @@ -0,0 +1,9 @@ +# disable SSE2 on i686 and i486 +if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/export CXXFLAGS="\([^"]\+\)"/export CXXFLAGS="\1 -DCRYPTOPP_DISABLE_ASM=1"/g + ' + )" +fi |