Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/crypto++/PKGBUILD
blob: 23130381664f2f38057e81420a4a79bf9d4986c0 (plain)
1
2
3
4
5
6
7
8
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