diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-20 19:06:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-20 19:06:55 +0000 |
commit | 4eab6d6be923c78ef868f6af8fb299f9dcea4603 (patch) | |
tree | c7ed57ff835c9b175c97fb2c1dec5d9135c421a7 /eclass | |
parent | Drop old. (diff) | |
download | gentoo-2-4eab6d6be923c78ef868f6af8fb299f9dcea4603.tar.gz gentoo-2-4eab6d6be923c78ef868f6af8fb299f9dcea4603.tar.bz2 gentoo-2-4eab6d6be923c78ef868f6af8fb299f9dcea4603.zip |
when upgrading in same slot, run gcc-config earlier to make sure the profile is sane for fix_libtool_files to probe gcc
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index da884ff680cf..de73ba821133 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.414 2009/12/20 14:30:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.415 2009/12/20 19:06:55 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -974,6 +974,9 @@ gcc-compiler_pkg_postrm() { [[ ${ROOT} != "/" ]] && return 0 if [[ ! -e ${LIBPATH}/libstdc++.so ]] ; then + # make sure the profile is sane during same-slot upgrade #289403 + do_gcc_config + einfo "Running 'fix_libtool_files.sh ${GCC_RELEASE_VER}'" /sbin/fix_libtool_files.sh ${GCC_RELEASE_VER} if [[ -n ${BRANCH_UPDATE} ]] ; then |