diff options
author | 2024-02-22 09:19:18 -0500 | |
---|---|---|
committer | 2024-02-22 09:26:04 -0500 | |
commit | d4584144a3ccb5ac08c3eb67fe67918cec15f020 (patch) | |
tree | 883ce1a0d55986129519e23ba62d111bbc335a4e /dev-util | |
parent | media-sound/yoshimi: bump to 2.3.2 (diff) | |
download | gentoo-d4584144a3ccb5ac08c3eb67fe67918cec15f020.tar.gz gentoo-d4584144a3ccb5ac08c3eb67fe67918cec15f020.tar.bz2 gentoo-d4584144a3ccb5ac08c3eb67fe67918cec15f020.zip |
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>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild index 808cdc0731ae..9aab786878f3 100644 --- a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild +++ b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild @@ -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 |