diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-07-12 23:07:06 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-07-13 00:37:32 +0100 |
commit | 1b4b03f4084fc08475ccf1bdc3734e0ff9ed37df (patch) | |
tree | c7baedce8bfd10031ec956807b4049b6c869ff2b /eclass/toolchain.eclass | |
parent | dev-python/markdown: 2.6.11bump needed for www-apps/netbox (diff) | |
download | gentoo-1b4b03f4084fc08475ccf1bdc3734e0ff9ed37df.tar.gz gentoo-1b4b03f4084fc08475ccf1bdc3734e0ff9ed37df.tar.bz2 gentoo-1b4b03f4084fc08475ccf1bdc3734e0ff9ed37df.zip |
toolchain.eclass: add 'einfo' when last cross-compiler is removed
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 3d997fb65819..9caed25f55a7 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2253,6 +2253,7 @@ toolchain_pkg_postrm() { # clean up the cruft left behind by cross-compilers if is_crosscompile ; then if [[ -z $(ls "${EROOT%/}"/etc/env.d/gcc/${CTARGET}* 2>/dev/null) ]] ; then + einfo "Removing last cross-compiler instance. Deleting dangling symlinks." rm -f "${EROOT%/}"/etc/env.d/gcc/config-${CTARGET} rm -f "${EROOT%/}"/etc/env.d/??gcc-${CTARGET} rm -f "${EROOT%/}"/usr/bin/${CTARGET}-{gcc,{g,c}++}{,32,64} |