commit:     f2ab5a08b47a00459873c6293bdf58834adcd427
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat May 12 18:42:08 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat May 12 18:44:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ab5a08

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 <slyfox <AT> gentoo.org>

 eclass/toolchain-binutils.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 2218c02dd35..0e532a8f201 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

Reply via email to