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>
This commit is contained in:
Sam James (sam_c)
2020-05-08 03:00:53 +00:00
committed by Mikle Kolyada
parent 044f8199e1
commit c9083ec9e0

View File

@@ -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 \