diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-29 06:16:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-29 06:16:15 +0000 |
commit | 405a69bd61711ad468f8221e5c0d0e9bb14fe8c0 (patch) | |
tree | b16d9f77ee15bb68d05474baf36964500d9ce8df /eclass/toolchain.eclass | |
parent | Correct incomplete texinfo documentation installation. (diff) | |
download | gentoo-2-405a69bd61711ad468f8221e5c0d0e9bb14fe8c0.tar.gz gentoo-2-405a69bd61711ad468f8221e5c0d0e9bb14fe8c0.tar.bz2 gentoo-2-405a69bd61711ad468f8221e5c0d0e9bb14fe8c0.zip |
delay stripping until after we moved all of the gcc binaries around
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 87ee25f9455e..ab4ce6df6c6d 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.276 2006/04/27 00:12:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.277 2006/04/29 06:16:15 vapier Exp $ HOMEPAGE="http://gcc.gnu.org/" LICENSE="GPL-2 LGPL-2.1" @@ -1545,10 +1545,6 @@ gcc-compiler_src_install() { # Move the libraries to the proper location gcc_movelibs - # Now do the fun stripping stuff - env RESTRICT="" CHOST=${CHOST} prepstrip "${D}${BINPATH}" "${D}${LIBEXECPATH}" - env RESTRICT="" CHOST=${CTARGET} prepstrip "${D}${LIBPATH}" - # Basic sanity check is_crosscompile || [[ -r ${D}${BINPATH}/gcc ]] || die "gcc not found in ${D}" @@ -1645,6 +1641,10 @@ gcc-compiler_src_install() { fi fi + # Now do the fun stripping stuff + env RESTRICT="" CHOST=${CHOST} prepstrip "${D}${BINPATH}" "${D}${LIBEXECPATH}" + env RESTRICT="" CHOST=${CTARGET} prepstrip "${D}${LIBPATH}" + cd "${S}" if use build || is_crosscompile; then rm -rf "${D}"/usr/share/{man,info} |