diff options
author | Aric Belsito <lluixhi@gmail.com> | 2017-09-05 12:12:38 -0700 |
---|---|---|
committer | Aric Belsito <lluixhi@gmail.com> | 2017-09-05 12:12:38 -0700 |
commit | 57dbfdd6d2ed16648783e4bc61637c8d1f7e04d4 (patch) | |
tree | 521be177de38f88fc7e5c41b2cf18c6e5dbac029 | |
parent | dev-qt/qtwebkit: sync with upstream (diff) | |
download | musl-57dbfdd6.tar.gz musl-57dbfdd6.tar.bz2 musl-57dbfdd6.zip |
toolchain.eclass: sync with upstream
-rw-r--r-- | eclass/toolchain.eclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b996315a..a07863c6 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2070,6 +2070,9 @@ gcc_slot_java() { toolchain_pkg_postinst() { do_gcc_config + if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + eselect compiler-shadow update all + fi if ! is_crosscompile ; then echo @@ -2108,6 +2111,10 @@ toolchain_pkg_postinst() { } toolchain_pkg_postrm() { + if [[ ${ROOT} == / && -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 |