diff options
author | Sam James <sam@gentoo.org> | 2023-12-14 05:34:10 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-14 05:34:10 +0000 |
commit | 20b6ad4b80f78a26d20696c8437c1dfd753a61d2 (patch) | |
tree | 9e47428bd78867abaeda2eebcdcdd125a1524c91 | |
parent | python-utils-r1.eclass: fix EclassReservedName (drop obsolete ${EBUILD} old c... (diff) | |
download | gentoo-20b6ad4b80f78a26d20696c8437c1dfd753a61d2.tar.gz gentoo-20b6ad4b80f78a26d20696c8437c1dfd753a61d2.tar.bz2 gentoo-20b6ad4b80f78a26d20696c8437c1dfd753a61d2.zip |
flag-o-matic.eclass: allow -mtls-dialect=* through filter
Most arches have this set anyway but amd64 is likely to switch to gnu2 finally
as well [0] so let's allow testing with it (and reverting to the old default
once it changes) by allowing -mtls-dialect=* through the filter.
[0] https://inbox.sourceware.org/gcc/871qbqp4of.fsf@oldenburg.str.redhat.com/
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | eclass/flag-o-matic.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 40662f4f7d7b..0e427649c015 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -115,6 +115,10 @@ _setup-allowed-flags() { -mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 '-mcmodel=*' -mstack-bias -mno-stack-bias -msecure-plt '-m*-toc' '-mfloat-abi=*' + # This is default on for a bunch of arches except amd64 in GCC + # already, and amd64 itself is planned too. + '-mtls-dialect=*' + # MIPS errata -mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000 -mfix-r4400 -mno-fix-r4400 -mfix-r5900 -mno-fix-r5900 |