diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 11:40:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 11:40:32 +0000 |
commit | 4215622c05ed14d30fdad5a4d0feba6d94b0d046 (patch) | |
tree | 2e7c452f4b9f4b13bf11bf37ea05bdcf1bc7d73e /dev-debug/gdb/gdb-14.1-r1.ebuild | |
parent | d117dce29795dfc5a9824d31a128decaa37f73d2 (diff) |
gentoo auto-resync : 25:02:2024 - 11:40:31
Diffstat (limited to 'dev-debug/gdb/gdb-14.1-r1.ebuild')
-rw-r--r-- | dev-debug/gdb/gdb-14.1-r1.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-debug/gdb/gdb-14.1-r1.ebuild b/dev-debug/gdb/gdb-14.1-r1.ebuild index f9b8b1ba925b..6894ea21be93 100644 --- a/dev-debug/gdb/gdb-14.1-r1.ebuild +++ b/dev-debug/gdb/gdb-14.1-r1.ebuild @@ -134,6 +134,14 @@ src_prepare() { # Avoid using ancient termcap from host on Prefix systems sed -i -e 's/termcap tinfow/tinfow/g' \ gdb/configure{.ac,} || die + if [[ ${CHOST} == *-solaris* ]] ; then + # code relies on C++11, so make sure we get that selected + # due to Python 3.11 pymacro.h doing stuff to work around + # versioning mess based on the C version, while we're compiling + # C++ here, so we need to make it clear we're doing C++11/C11 + # because Solaris system headers act on these + sed -i -e 's/-x c++/-std=c++11/' gdb/Makefile.in || die + fi } gdb_branding() { |