From: Sergei Trofimovich Date: Sat, 12 May 2018 18:42:08 +0000 (+0100) Subject: toolchain-binutils.eclass: don't purge environment for binutils-config X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f2ab5a08b47a00459873c6293bdf58834adcd427;p=gentoo.git toolchain-binutils.eclass: don't purge environment for binutils-config 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 --- diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 2218c02dd35e..0e532a8f201e 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -505,7 +505,7 @@ toolchain-binutils_pkg_postrm() { 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