toolchain-binutils.eclass: don't purge environment for binutils-config
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 12 May 2018 18:42:08 +0000 (19:42 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 12 May 2018 18:44:22 +0000 (19:44 +0100)
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>
eclass/toolchain-binutils.eclass

index 2218c02dd35e2d49e57aa63b1f0971c4320d4570..0e532a8f201e932e53ca9212002d2f18377e1184 100644 (file)
@@ -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