mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user