From a53e69eb7df9f9ce685a97b6b24df312dd88d2a5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 1 Sep 2025 07:12:10 +0000 Subject: [PATCH] eclass/toolchain: Sync with Gentoo It's from Gentoo commit b5a8c093e958bfa141a5fa7c140a068fca7e470a. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/toolchain.eclass | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass index efa78f6136..b54f78320f 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass @@ -307,7 +307,7 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then # Stop forcing openmp on by default in the eclass. Gradually phase it out. # See bug #890999. - if tc_version_is_at_least 13.0.0_pre20221218 ; then + if tc_version_is_at_least 13.1 ; then IUSE+=" openmp" else IUSE+=" +openmp" @@ -333,14 +333,14 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then tc_version_is_at_least 12 && IUSE+=" ieee-long-double" tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-znow" tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-stack-clash-protection" - tc_version_is_at_least 13.0.0_pre20221218 ${PV} && IUSE+=" modula2" + tc_version_is_at_least 13.1 ${PV} && IUSE+=" modula2" # See https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615944.html # and https://rust-gcc.github.io/2023/04/24/gccrs-and-gcc13-release.html for why # it was disabled in 13. - tc_version_is_at_least 14.0.0_pre20230423 ${PV} && IUSE+=" rust" TC_FEATURES+=( rust ) + tc_version_is_at_least 14.1 ${PV} && IUSE+=" rust" TC_FEATURES+=( rust ) tc_version_is_at_least 13.3.1_p20250522 ${PV} && IUSE+=" time64" - tc_version_is_at_least 15.0.0_pre20241124 ${PV} && IUSE+=" libgdiagnostics" - tc_version_is_at_least 15.0.1_pre20250316 ${PV} && IUSE+=" cobol" + tc_version_is_at_least 15.1 ${PV} && IUSE+=" libgdiagnostics" + tc_version_is_at_least 15.1 ${PV} && IUSE+=" cobol" fi if tc_version_is_at_least 10; then @@ -450,7 +450,7 @@ if tc_has_feature d && tc_version_is_at_least 12.0 ; then BDEPEND+=" d? ( || ( sys-devel/gcc:${SLOT}[d(-)]