commit:     e91fed16ab4cf614ca15328400767823dcf9a0f7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 31 18:53:51 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 31 20:42:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91fed16

toolchain.eclass: drop --as-needed spec workaround for <gcc-3.4.4

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

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

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 4d08574228d..613f91761d7 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -491,13 +491,6 @@ toolchain_src_prepare() {
                fi
        fi
 
-       # disable --as-needed from being compiled into gcc specs
-       # natively when using a gcc version < 3.4.4
-       # http://gcc.gnu.org/PR14992
-       if ! tc_version_is_at_least 3.4.4 ; then
-               sed -i -e s/HAVE_LD_AS_NEEDED/USE_LD_AS_NEEDED/g 
"${S}"/gcc/config.in
-       fi
-
        # In gcc 3.3.x and 3.4.x, rename the java bins to gcc-specific names
        # in line with gcc-4.
        if tc_version_is_between 3.3 4.0 ; then

Reply via email to