---
eclass/toolchain.eclass | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ae2db7f0a442..51b37c54ccbd 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2067,6 +2067,9 @@ gcc_slot_java() {
toolchain_pkg_postinst() {
do_gcc_config
+ if [[ -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect
]] ; then
+ eselect compiler-shadow update all
+ fi
if ! is_crosscompile ; then
echo
@@ -2105,6 +2108,10 @@ toolchain_pkg_postinst() {
}
toolchain_pkg_postrm() {
+ if [[ -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect
]] ; then
+ eselect compiler-shadow clean all
+ fi
+
# to make our lives easier (and saner), we do the fix_libtool stuff
here.
# rather than checking SLOT's and trying in upgrade paths, we just see
if
# the common libstdc++.la exists in the ${LIBPATH} of the gcc that we
are
--
2.14.1- Re: [gentoo-dev] [PATCH 02/12] dev-util/ccache... Michał Górny
- Re: [gentoo-dev] [PATCH 02/12] dev-util/cc... David Seifert
- [gentoo-dev] [PATCH 03/12] dev-util/ccache: Install dev... Michał Górny
- [gentoo-dev] [PATCH 04/12] dev-util/ccache: Use dev-uti... Michał Górny
- [gentoo-dev] [PATCH 05/12] sys-devel/distcc: Convert to... Michał Górny
- [gentoo-dev] [PATCH 07/12] sys-devel/distcc: Use dev-ut... Michał Górny
- [gentoo-dev] [PATCH 06/12] sys-devel/distcc: Install de... Michał Górny
- [gentoo-dev] [PATCH 09/12] sys-devel/icecream: Install ... Michał Górny
- [gentoo-dev] [PATCH 08/12] sys-devel/icecream: Convert ... Michał Górny
- [gentoo-dev] [PATCH 10/12] sys-devel/icecream: Use dev-... Michał Górny
- [gentoo-dev] [PATCH 11/12] toolchain.eclass: Update mas... Michał Górny
- [gentoo-dev] [PATCH 12/12] sys-devel/clang: Enable masq... Michał Górny
- [gentoo-dev] Re: [RFC] [PATCH] dev-util/shadowman: Unif... Sergei Trofimovich
- Re: [gentoo-dev] [RFC] [PATCH] dev-util/shadowman: Unif... Manuel Rüger
- Re: [gentoo-dev] [RFC] [PATCH] dev-util/shadowman:... Michał Górny
- Re: [gentoo-dev] [RFC] [PATCH] dev-util/shadow... Manuel Rüger
- [gentoo-dev] [PATCH v2 01/12] dev-util/shadowman: New p... Michał Górny
- [gentoo-dev] [PATCH v2 02/12] dev-util/ccache: Con... Michał Górny
- [gentoo-dev] [PATCH v2 05/12] sys-devel/distcc: Co... Michał Górny
- [gentoo-dev] [PATCH v2 03/12] dev-util/ccache: Ins... Michał Górny
- [gentoo-dev] [PATCH v2 04/12] dev-util/ccache: Use... Michał Górny
