diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-03 11:42:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-03 11:42:33 +0000 |
commit | 194313a653d5ba077627c85051de73377b95672a (patch) | |
tree | a8e4035e62460399fba9a328b2343275148a426e /dev-debug/gdb/gdb-9999.ebuild | |
parent | f1801aa7be2329c07c4c2bd7522e03522b34c437 (diff) |
gentoo auto-resync : 03:03:2024 - 11:42:33
Diffstat (limited to 'dev-debug/gdb/gdb-9999.ebuild')
-rw-r--r-- | dev-debug/gdb/gdb-9999.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-debug/gdb/gdb-9999.ebuild b/dev-debug/gdb/gdb-9999.ebuild index 89469e978771..541bf7f8915a 100644 --- a/dev-debug/gdb/gdb-9999.ebuild +++ b/dev-debug/gdb/gdb-9999.ebuild @@ -131,6 +131,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() { |