Gentoo Archives: gentoo-dev

From: "Marty E. Plummer" <hanetzer@×××××××××.com>
To: gentoo-dev@l.g.o
Cc: Michael Haubenwallner <haubi@g.o>
Subject: Re: [gentoo-dev] [PATCH 1/5] toolchain.eclass: ROOT->EROOT at looking for gcc specs file
Date: Wed, 20 Jun 2018 21:28:44
Message-Id: 20180620212735.mefb6a32sgmjxvly@proprietary-killer
In Reply to: [gentoo-dev] [PATCH 1/5] toolchain.eclass: ROOT->EROOT at looking for gcc specs file by Michael Haubenwallner
1 On Wed, Jun 20, 2018 at 07:49:01PM +0200, Michael Haubenwallner wrote:
2 > ---
3 > eclass/toolchain.eclass | 2 +-
4 > 1 file changed, 1 insertion(+), 1 deletion(-)
5 >
6 > diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
7 > index 68e4ce15b37..fe41a80db28 100644
8 > --- a/eclass/toolchain.eclass
9 > +++ b/eclass/toolchain.eclass
10 > @@ -2207,7 +2207,7 @@ do_gcc_config() {
11 > [[ -n ${current_specs} ]] && use_specs=-${current_specs}
12 >
13 > if [[ -n ${use_specs} ]] && \
14 > - [[ ! -e ${ROOT}/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}${use_specs} ]]
15 > + [[ ! -e ${EROOT}etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}${use_specs} ]]
16 ${EROOT%/}/etc... would be more portable, correct? Not all EAPI have no
17 trailing /.
18 > then
19 > ewarn "The currently selected specs-specific gcc config,"
20 > ewarn "${current_specs}, doesn't exist anymore. This is usually"
21 > --
22 > 2.16.1
23 >
24 >