summaryrefslogtreecommitdiff
path: root/eclass/toolchain.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass2
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