commit:     27257bd7dda80338bf23ec6db4ceab8049599c36
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 21 23:49:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 21 23:51:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27257bd7

toolchain.eclass: drop -mtls-dialect=gnu2 hack for old GCC

Would need to pass it down to target libs too, not worth it, especially
as we have --with-tls= as a configure arg for >= GCC 16.

This reverts commit e716d940014c59b7f414e26b1c7e400d478b6daf.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 85a74fdeaf9d..0f7ac98056c3 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2336,9 +2336,6 @@ gcc_do_make() {
                        STAGE1_CFLAGS="-O0"
                        STAGE1_CXXFLAGS="-O0"
                        STAGE1_GDCFLAGS="-O0"
-
-                       # ICEs w/ checking with < GCC 10
-                       filter-flags -mtls-dialect=gnu2
                # We have a very good host compiler but it may be a bit too 
good, and
                # know about flags that the version we are compiling does not 
know
                # about. In principle we could check e.g. which gnat1 we are 
using as

Reply via email to