squid: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:23:36 +01:00
parent a88e256a52
commit 51d049719d

View file

@ -68,13 +68,10 @@ distfiles="http://www.squid-cache.org/Versions/v4/squid-${version}.tar.xz"
checksum=553edf76d6ee9a1627af9c2be7be850c14cd6836170b3d6c1393fd700d44ccc5
system_accounts="squid"
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv[56]l*|ppc*)
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
post_install() {
chmod u+s \