From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF6BB1396D0 for ; Tue, 5 Sep 2017 19:13:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B53C1FC00D; Tue, 5 Sep 2017 19:13:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E161B1FC00D for ; Tue, 5 Sep 2017 19:13:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D473D33BE3E for ; Tue, 5 Sep 2017 19:13:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B2978D3D for ; Tue, 5 Sep 2017 19:13:13 +0000 (UTC) From: "Aric Belsito" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aric Belsito" Message-ID: <1504638758.57dbfdd6d2ed16648783e4bc61637c8d1f7e04d4.lluixhi@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: eclass/ X-VCS-Repository: proj/musl X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: lluixhi X-VCS-Committer-Name: Aric Belsito X-VCS-Revision: 57dbfdd6d2ed16648783e4bc61637c8d1f7e04d4 X-VCS-Branch: master Date: Tue, 5 Sep 2017 19:13:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4bc36119-065a-4cc9-9ff8-911ad0765e1d X-Archives-Hash: b17cd4a969a820732f7cff06859a0630 commit: 57dbfdd6d2ed16648783e4bc61637c8d1f7e04d4 Author: Aric Belsito gmail com> AuthorDate: Tue Sep 5 19:12:38 2017 +0000 Commit: Aric Belsito gmail com> CommitDate: Tue Sep 5 19:12:38 2017 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=57dbfdd6 toolchain.eclass: sync with upstream eclass/toolchain.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b996315..a07863c 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