commit:     534e0f7d5e8a02264b7b7fc97c3ef11441e35c5c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  5 19:01:04 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 19:05:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534e0f7d

toolchain.eclass: drop PATH and ROOTPATH from /etc/env.d/gcc/

toolchain.eclass constructs correct GCC_PATH since 2007:
commit 7d9f89700a2ee50674c0d871ec6d21b468ac6206
("start moving to GCC_PATH for env.d #174422 and cleanup "
"gcc-config logic so that it doesnt matter what the ROOT value is")

gcc-config moved over as well. Let's leave GCC_PATH as
the only available variable to locate gcc's whereabouts.

Bug: https://bugs.gentoo.org/174422
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

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

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 529c12a4116..bc7d7b1c260 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2126,8 +2126,6 @@ create_gcc_env_entry() {
        fi
 
        cat <<-EOF > ${gcc_envd_file}
-       PATH="${BINPATH}"
-       ROOTPATH="${BINPATH}"
        GCC_PATH="${BINPATH}"
        LDPATH="${ldpaths}"
        MANPATH="${DATAPATH}/man"

Reply via email to