summaryrefslogtreecommitdiff
path: root/extra/libatomic_ops/PKGBUILD
blob: cb18a7d98c0e194b9a2a56c9c52525c48e785afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # missing a -latomic when linking tests
  source+=('libatomic_ops-7.6.4-libatomic.patch')
  sha256sums+=('9309b11f4794c14c09f49df21aa9adb9e490db1d0bffa707af0a36db40e950cc')

  eval "$(
    declare -f prepare | \
      sed '
        /}/ i \
          patch -Np1 -i "$srcdir/libatomic_ops-7.6.4-libatomic.patch" \
          autoreconf
      '
  )"
fi