mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
sys-devel/bpf-toolchain: build w/ -std=gnu++14 for now
GCC 16 defaults to -std=gnu++20. Hack in -std=gnu++17 until PR122941 is fixed. We had the same problem in dev-util/mingw64-toolchain. Bug: https://gcc.gnu.org/PR122941 Closes: https://bugs.gentoo.org/967042 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
396b2e58f9
commit
4157bab730
@ -136,6 +136,9 @@ src_compile() {
|
||||
--without-isl
|
||||
--without-zstd
|
||||
--disable-multilib
|
||||
|
||||
# TODO: can likely remove this when bump to >=gcc-15.3 (bug #967042)
|
||||
CXX="$(tc-getCXX) -std=c++14"
|
||||
)
|
||||
|
||||
# libstdc++ may misdetect sys/sdt.h on systemtap-enabled system and fail
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user