toolchain.eclass: ROOT->EROOT at looking for gcc specs file
authorMichael Haubenwallner <haubi@gentoo.org>
Wed, 20 Jun 2018 16:24:51 +0000 (18:24 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Mon, 9 Jul 2018 16:20:11 +0000 (18:20 +0200)
eclass/toolchain.eclass

index 09d2b7869e1aac8f69553de8a11a83d415e9ae4a..485fe6f22c1bfe654e5473f26761e5bd1b57f955 100644 (file)
@@ -2209,7 +2209,7 @@ do_gcc_config() {
                [[ -n ${current_specs} ]] && use_specs=-${current_specs}
 
                if [[ -n ${use_specs} ]] && \
-                  [[ ! -e ${ROOT%/}/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}${use_specs} ]]
+                  [[ ! -e ${EROOT%/}/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}${use_specs} ]]
                then
                        ewarn "The currently selected specs-specific gcc config,"
                        ewarn "${current_specs}, doesn't exist anymore. This is usually"