squid: use generic libatomic checks
This commit is contained in:
parent
a88e256a52
commit
51d049719d
1 changed files with 4 additions and 7 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue