commit:     66e9731c309d07a56a70bbf5bba0f0deb8d8c34f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 31 18:48:55 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 31 20:42:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e9731c

toolchain.eclass: drop tweak for pythondir for gcc-{4.5..4.7}

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/toolchain.eclass | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 4ba4674f19b..0848fb18e35 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -465,14 +465,6 @@ toolchain_src_prepare() {
                make_gcc_hard
        fi
 
-       # install the libstdc++ python into the right location
-       # http://gcc.gnu.org/PR51368
-       if tc_version_is_between 4.5 4.7 ; then
-               sed -i \
-                       '/^pythondir =/s:=.*:= $(datadir)/python:' \
-                       "${S}"/libstdc++-v3/python/Makefile.in || die
-       fi
-
        # make sure the pkg config files install into multilib dirs.
        # since we configure with just one --libdir, we can't use that
        # (as gcc itself takes care of building multilibs).  #435728

Reply via email to