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 committed by Krzesimir Nowak
parent 872bfeb0b4
commit 17b9e7a65f

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