commit:     885a699283e2efc97faa78f694f04811d8d1123a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 14 12:08:28 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 12:08:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885a6992

net-misc/dhcp: switch to append-atomic-flags

Fixes build on mips (report on #gentoo).

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

 net-misc/dhcp/dhcp-4.4.3_p1-r4.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-misc/dhcp/dhcp-4.4.3_p1-r4.ebuild 
b/net-misc/dhcp/dhcp-4.4.3_p1-r4.ebuild
index 8ed622a74bb9..d8539208aefd 100644
--- a/net-misc/dhcp/dhcp-4.4.3_p1-r4.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.3_p1-r4.ebuild
@@ -174,9 +174,7 @@ src_configure() {
        append-flags -fno-strict-aliasing
 
        # bug #720806, bug #801592
-       if use ppc || use arm || use hppa || [[ ${CHOST} == i486* ]] ; then
-               append-libs -latomic
-       fi
+       append-atomic-flags
 
        local myeconfargs=(
                --enable-paranoia

Reply via email to