dev-util/mingw64-toolchain: prevent sys/sdt.h (systemtap) detection

Unsure which conditions are needed to reproduce exactly,
(having dev-debug/systemtap is not enough) but failed for a
user with USE=systemtap enabled globally (perhaps related
to glibc[systemtap] or gcc[systemtap]).

--disable-systemtap does not do anything to help here, the
header is checked individually by libstdc++ and then fails
given it's missing for the mingw target.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-02-22 09:19:18 -05:00
parent 3f5b831117
commit d4584144a3

View File

@@ -143,6 +143,9 @@ src_compile() {
--without-zstd
)
${multilib} || conf_gcc+=( --disable-multilib )
# libstdc++ may misdetect sys/sdt.h on systemtap-enabled system and fail
# (not passed in conf_gcc above given it is lost in sub-configure calls)
local -x glibcxx_cv_sys_sdt_h=no
local conf_gcc_stage1=(
--enable-languages=c