Follow toolchain.eclass cleanup where gcc-config was broken due
to missing PATH= assignment:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=
6526608cbdb8202bc69aaaedd19f773ef651862c
This change removes environment cleansing for binutils-config
Reported-by: hiyuh
Closes: https://bugs.gentoo.org/588642
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
choice=${choice//$'\n'/ }
choice=${choice/* }
if [[ -z ${choice} ]] ; then
- env -i ROOT="${ROOT}" binutils-config -u ${CTARGET}
+ binutils-config -u ${CTARGET}
else
binutils-config ${choice}
fi