commit:     8cbed16d6341202a99529619336c2bea24ff3465
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 23:07:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 23:07:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cbed16d

dev-libs/apr: disable atomics on x86

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

 dev-libs/apr/apr-1.7.4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/apr/apr-1.7.4-r2.ebuild b/dev-libs/apr/apr-1.7.4-r2.ebuild
index 43e9c23b749f..d74a3b41b387 100644
--- a/dev-libs/apr/apr-1.7.4-r2.ebuild
+++ b/dev-libs/apr/apr-1.7.4-r2.ebuild
@@ -118,7 +118,7 @@ src_configure() {
        # (May be possible to fix via libatomic linkage in future?)
        # bug #740464
        append-atomic-flags
-       if [[ ${LIBS} == *atomic* ]] ; then
+       if use x86 || [[ ${LIBS} == *atomic* ]] ; then
                myconf+=( --disable-nonportable-atomics )
        fi
 

Reply via email to