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>
This commit is contained in:
Sam James
2022-04-28 18:57:26 +01:00
parent 71b5f23ce2
commit c00b2fd2c2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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