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: Thu, 05 Sep 2019 19:06:09
Message-Id: 1567710356.534e0f7d5e8a02264b7b7fc97c3ef11441e35c5c.slyfox@gentoo
1 commit: 534e0f7d5e8a02264b7b7fc97c3ef11441e35c5c
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 5 19:01:04 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 5 19:05:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534e0f7d
7
8 toolchain.eclass: drop PATH and ROOTPATH from /etc/env.d/gcc/
9
10 toolchain.eclass constructs correct GCC_PATH since 2007:
11 commit 7d9f89700a2ee50674c0d871ec6d21b468ac6206
12 ("start moving to GCC_PATH for env.d #174422 and cleanup "
13 "gcc-config logic so that it doesnt matter what the ROOT value is")
14
15 gcc-config moved over as well. Let's leave GCC_PATH as
16 the only available variable to locate gcc's whereabouts.
17
18 Bug: https://bugs.gentoo.org/174422
19 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
20
21 eclass/toolchain.eclass | 2 --
22 1 file changed, 2 deletions(-)
23
24 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
25 index 529c12a4116..bc7d7b1c260 100644
26 --- a/eclass/toolchain.eclass
27 +++ b/eclass/toolchain.eclass
28 @@ -2126,8 +2126,6 @@ create_gcc_env_entry() {
29 fi
30
31 cat <<-EOF > ${gcc_envd_file}
32 - PATH="${BINPATH}"
33 - ROOTPATH="${BINPATH}"
34 GCC_PATH="${BINPATH}"
35 LDPATH="${ldpaths}"
36 MANPATH="${DATAPATH}/man"