summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-05-12 19:42:08 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-05-12 19:44:22 +0100
commitf2ab5a08b47a00459873c6293bdf58834adcd427 (patch)
tree53f460e1d41f92f9d3b75f45c89f2845820a7ea4 /eclass
parentsys-devel/binutils-hppa64: don't purge environment for binutils-config (diff)
downloadgentoo-f2ab5a08b47a00459873c6293bdf58834adcd427.tar.gz
gentoo-f2ab5a08b47a00459873c6293bdf58834adcd427.tar.bz2
gentoo-f2ab5a08b47a00459873c6293bdf58834adcd427.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass2
1 files changed, 1 insertions, 1 deletions
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