summaryrefslogtreecommitdiff
path: root/community/squid/PKGBUILD
blob: 1a2bcc4547a59775cff03d0b743ea5880292f4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# testing libatomic for __atomic_load_8 fails in configure.ac, following the idea in
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830942
# TODO: report upstream in squid project

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  eval "$(
    declare -f build | \
      sed '
        s|make|make LDFLAGS="-Wl,--as-needed -latomic -Wl,--no-as-needed"|g
      ';
  )"
fi