From 534e0f7d5e8a02264b7b7fc97c3ef11441e35c5c Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 5 Sep 2019 20:01:04 +0100 Subject: [PATCH] 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 --- eclass/toolchain.eclass | 2 -- 1 file changed, 2 deletions(-) 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" -- 2.26.2