summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James (sam_c) <sam@cmpct.info>2020-05-08 03:00:53 +0000
committerMikle Kolyada <zlogene@gentoo.org>2020-05-18 16:43:53 +0300
commitc9083ec9e0bc6508dad28ae211d8e3647a1f08e5 (patch)
tree165e077bc14ff22e11e9587aec353033b9707519 /net-proxy/squid
parentdev-python/mini-amf: update test deps (diff)
downloadgentoo-c9083ec9e0bc6508dad28ae211d8e3647a1f08e5.tar.gz
gentoo-c9083ec9e0bc6508dad28ae211d8e3647a1f08e5.tar.bz2
gentoo-c9083ec9e0bc6508dad28ae211d8e3647a1f08e5.zip
net-proxy/squid: Fix 32-bit build
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>
Diffstat (limited to 'net-proxy/squid')
-rw-r--r--net-proxy/squid/squid-4.11.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-proxy/squid/squid-4.11.ebuild b/net-proxy/squid/squid-4.11.ebuild
index b0fc4013b7d..978bb9b3922 100644
--- a/net-proxy/squid/squid-4.11.ebuild
+++ b/net-proxy/squid/squid-4.11.ebuild
@@ -5,7 +5,7 @@ EAPI=7
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/"
@@ -173,6 +173,9 @@ src_configure() {
# 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 \