summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-29 06:16:15 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-29 06:16:15 +0000
commitb1b2b3576e905a1ef2240a40664e9fcfc4fca6ea (patch)
treeac5397a702230c1910aaae9dbf150124d0fdb6d6 /eclass
parentCorrect incomplete texinfo documentation installation. (diff)
downloadhistorical-b1b2b3576e905a1ef2240a40664e9fcfc4fca6ea.tar.gz
historical-b1b2b3576e905a1ef2240a40664e9fcfc4fca6ea.tar.bz2
historical-b1b2b3576e905a1ef2240a40664e9fcfc4fca6ea.zip
delay stripping until after we moved all of the gcc binaries around
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass10
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}