commit:     c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 17:57:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 17:57:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00b2fd2

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 <iamben <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 4c213e87fbc3..6b2cf7158832 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 518577815642..0cd58207062a 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
 

Reply via email to