diff options
author | Sam James <sam@gentoo.org> | 2022-04-28 18:57:26 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-28 18:57:26 +0100 |
commit | c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec (patch) | |
tree | 3e1f41d891f634720a4d8828950ba8cd6cf9d399 /net-misc | |
parent | net-misc/dhcp: add -latomic for x86 too (diff) | |
download | gentoo-c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec.tar.gz gentoo-c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec.tar.bz2 gentoo-c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec.zip |
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@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 2 | ||||
-rw-r--r-- | 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 |