From c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 28 Apr 2022 18:57:26 +0100 Subject: [PATCH] net-misc/dhcp: change x86 test to check for i486 CHOST Closes: https://bugs.gentoo.org/801592 Bug: https://bugs.gentoo.org/841482 Suggested-by: Ben Kohler Signed-off-by: Sam James --- net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 2 +- net-misc/dhcp/dhcp-4.4.3-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild index 4c213e87fbc31..6b2cf71588328 100644 --- a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild +++ b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild @@ -164,7 +164,7 @@ src_configure() { append-flags -fno-strict-aliasing # bug #720806, bug #801592 - if use ppc || use arm || use hppa || use x86; then + if use ppc || use arm || use hppa || [[ ${CHOST} == i486* ]] ; then append-libs -latomic fi diff --git a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild index 518577815642a..0cd58207062ae 100644 --- a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild +++ b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild @@ -168,7 +168,7 @@ src_configure() { append-flags -fno-strict-aliasing # bug #720806, bug #801592 - if use ppc || use arm || use hppa || use x86; then + if use ppc || use arm || use hppa || [[ ${CHOST} == i486* ]] ; then append-libs -latomic fi