From: Sergei Trofimovich Date: Thu, 5 Sep 2019 19:01:04 +0000 (+0100) Subject: toolchain.eclass: drop PATH and ROOTPATH from /etc/env.d/gcc/ X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=534e0f7d5e8a02264b7b7fc97c3ef11441e35c5c;p=gentoo.git 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 --- diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 529c12a4116a..bc7d7b1c2609 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"