eclass/toolchain: Sync with Gentoo

It's from Gentoo commit 39c75c6d4be04166f7984dea2fdb350bd00d7239.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-23 07:35:37 +00:00
parent 83106a5f45
commit 0d3fcd08c8

View File

@ -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