Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/crypto++/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
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