diff options
author | Sam James <sam@gentoo.org> | 2022-08-15 17:50:09 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-15 18:08:30 +0100 |
commit | 00bf571e6cbf1a44ce7e1d164aa7bf38eab6ed40 (patch) | |
tree | bb35e55a926ce875b4ca7ef9074ca9d8d6566e90 /eclass/toolchain.eclass | |
parent | x11-libs/pango: Stabilize 1.50.8 sparc, #861029 (diff) | |
download | gentoo-00bf571e6cbf1a44ce7e1d164aa7bf38eab6ed40.tar.gz gentoo-00bf571e6cbf1a44ce7e1d164aa7bf38eab6ed40.tar.bz2 gentoo-00bf571e6cbf1a44ce7e1d164aa7bf38eab6ed40.zip |
toolchain.eclass: extend GCC 12 workaround for older GCCs
Needed to build older GCCs with GCC 12. Noticed w/ 9.5.0.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index fe1e209fb2d5..ed473e0c626f 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -880,7 +880,7 @@ toolchain_src_configure() { downgrade_arch_flags gcc_do_filter_flags - if tc_version_is_between 10 11 && [[ $(gcc-major-version) -ge 12 ]] ; then + if ! tc_version_is_at_least 11 && [[ $(gcc-major-version) -ge 12 ]] ; then # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105695 # bug #849359 export ac_cv_std_swap_in_utility=no |