Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 31 Jul 2020 20:44:05
Message-Id: 1596228127.e91fed16ab4cf614ca15328400767823dcf9a0f7.slyfox@gentoo
1 commit: e91fed16ab4cf614ca15328400767823dcf9a0f7
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 31 18:53:51 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 31 20:42:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91fed16
7
8 toolchain.eclass: drop --as-needed spec workaround for <gcc-3.4.4
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 eclass/toolchain.eclass | 7 -------
13 1 file changed, 7 deletions(-)
14
15 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
16 index 4d08574228d..613f91761d7 100644
17 --- a/eclass/toolchain.eclass
18 +++ b/eclass/toolchain.eclass
19 @@ -491,13 +491,6 @@ toolchain_src_prepare() {
20 fi
21 fi
22
23 - # disable --as-needed from being compiled into gcc specs
24 - # natively when using a gcc version < 3.4.4
25 - # http://gcc.gnu.org/PR14992
26 - if ! tc_version_is_at_least 3.4.4 ; then
27 - sed -i -e s/HAVE_LD_AS_NEEDED/USE_LD_AS_NEEDED/g "${S}"/gcc/config.in
28 - fi
29 -
30 # In gcc 3.3.x and 3.4.x, rename the java bins to gcc-specific names
31 # in line with gcc-4.
32 if tc_version_is_between 3.3 4.0 ; then