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