Links against libatomic on 32-bit non-x86 arches.
Bug: https://bugs.gentoo.org/719662
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/15705
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
WANT_AUTOMAKE="1.15"
-inherit autotools linux-info pam toolchain-funcs
+inherit autotools flag-o-matic linux-info pam toolchain-funcs
DESCRIPTION="A full-featured web proxy cache"
HOMEPAGE="http://www.squid-cache.org/"
# https://bugs.squid-cache.org/show_bug.cgi?id=4224
tc-is-cross-compiler && export squid_cv_gnu_atomics=no
+ # Bug #719662
+ (use ppc || use arm || use hppa) && append-libs -latomic
+
econf \
--sysconfdir=/etc/squid \
--libexecdir=/usr/libexec/squid \