--- /var/cache/portage/gentoo/eclass/toolchain-funcs.eclass.orig 2012-08-23 10:05:05.000000000 +0200 +++ /var/cache/portage/gentoo/eclass/toolchain-funcs.eclass 2012-08-23 10:05:12.000000000 +0200 @@ -355,6 +355,7 @@ tc-ninja_magic_to_arch() { ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; } + local KV=${KV_FULL} local type=$1 local host=$2 [[ -z ${host} ]] && host=${CTARGET:-${CHOST}}