commit:     71b5f23ce2ed0cea82ef576b6db98606831e43da
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 17:51:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 17:51:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b5f23c

net-misc/dhcp: add -latomic for x86 too

Closes: https://bugs.gentoo.org/801592
Bug: https://bugs.gentoo.org/841482
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 4 ++--
 net-misc/dhcp/dhcp-4.4.3-r1.ebuild    | 4 ++--
 2 files changed, 4 insertions(+), 4 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 df94d6ae017e..4c213e87fbc3 100644
--- a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild
@@ -163,8 +163,8 @@ src_configure() {
        # bug #787935
        append-flags -fno-strict-aliasing
 
-       # https://bugs.gentoo.org/720806
-       if use ppc || use arm || use hppa; then
+       # bug #720806, bug #801592
+       if use ppc || use arm || use hppa || use x86; 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 b261be6fe3cc..518577815642 100644
--- a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild
@@ -167,8 +167,8 @@ src_configure() {
        # bug #787935
        append-flags -fno-strict-aliasing
 
-       # https://bugs.gentoo.org/720806
-       if use ppc || use arm || use hppa; then
+       # bug #720806, bug #801592
+       if use ppc || use arm || use hppa || use x86; then
                append-libs -latomic
        fi
 

Reply via email to