commit: 088f602f72e1ac0fa7503fba3c9b70c1f7ea4d59
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 11:59:43 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 11:59:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088f602f
toolchain.eclass: only pass --with-tls for x86_64 as intended
Fixes: 46191b478ebcb6bc6831627526da44f04dfcd1be
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0f7ac98056c3..91b5c9b2175a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1582,7 +1582,7 @@ toolchain_src_configure() {
--enable-clocale=gnu
)
- if [[ ${CTARGET} == *linux* ]] &&
tc_version_is_at_least 16.0.0_p20251214 ${PV} ; then
+ if [[ ${CTARGET} == x86_64*-*-linux-* ]] &&
tc_version_is_at_least 16.0.0_p20251214 ${PV} ; then
confgcc+=( --with-tls=gnu2 )
fi
;;