Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mono/PKGBUILD
blob: bccd03b7bc3c27386242bcb870cbe66007036f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ "$CARCH" = 'i486' ]; then
  # these atomics are unavailable on i486, but that is not detected (?)
  eval "$(
    declare -f prepare | \
      sed '
        /^}$/ i \
          sed -i '"'"' \
            /#define BROKEN_64BIT_ATOMICS_INTRINSIC 1/ i \\\
            #endif \\\
            #if true \
          '"'"' mono/utils/atomic.h 
      '
  )"
fi