From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/crypto++/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 extra/crypto++/PKGBUILD (limited to 'extra/crypto++') diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD new file mode 100644 index 00000000..23130381 --- /dev/null +++ b/extra/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 -- cgit v1.2.3-70-g09d2