From: Sergei Trofimovich Date: Fri, 12 Jul 2019 22:07:06 +0000 (+0100) Subject: toolchain.eclass: add 'einfo' when last cross-compiler is removed X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b4b03f4084fc08475ccf1bdc3734e0ff9ed37df;p=gentoo.git toolchain.eclass: add 'einfo' when last cross-compiler is removed Signed-off-by: Sergei Trofimovich --- 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}