From 0d3fcd08c8bdedd38a1b9c4e15e06320b7a10f57 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 23 Mar 2026 07:35:37 +0000 Subject: [PATCH] eclass/toolchain: Sync with Gentoo It's from Gentoo commit 39c75c6d4be04166f7984dea2fdb350bd00d7239. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/eclass/toolchain.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 da25e1dfc5..cad0a7203d 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass @@ -1803,7 +1803,11 @@ toolchain_src_configure() { fi if in_iuse systemtap ; then - confgcc+=( $(use_enable systemtap) ) + if is_crosscompile ; then + confgcc+=( --disable-systemtap ) + else + confgcc+=( $(use_enable systemtap) ) + fi fi if in_iuse valgrind ; then