commit:     8c67eb5c50030b45953766cf2f20a3d6aa8501dd
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 13:00:49 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 13:03:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c67eb5c

dev-build/gdb-15.1: drop Solaris build-hack

We'll disable the culprint (Python) instead.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 dev-debug/gdb/gdb-15.1.ebuild | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/dev-debug/gdb/gdb-15.1.ebuild b/dev-debug/gdb/gdb-15.1.ebuild
index 541bf7f8915a..89469e978771 100644
--- a/dev-debug/gdb/gdb-15.1.ebuild
+++ b/dev-debug/gdb/gdb-15.1.ebuild
@@ -131,14 +131,6 @@ 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() {

Reply via email to