toolchain.eclass: drop PATH and ROOTPATH from /etc/env.d/gcc/
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 5 Sep 2019 19:01:04 +0000 (20:01 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 5 Sep 2019 19:05:56 +0000 (20:05 +0100)
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@gentoo.org>
eclass/toolchain.eclass

index 529c12a4116a3a0d673c93cc11c625922a7e2ed8..bc7d7b1c2609efc21dac763362a73283de6883a6 100644 (file)
@@ -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"