blob: 53731943784c2d7ae86110fca4c8c9af13d2f3f1 (
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
|