summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-09 05:54:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-09 05:54:00 +0000
commitcc2dda3a51cdfdbc799d26f3dbb2fe06efb12ffa (patch)
treeec84b1b11895efa62524816c87e61be8af55a18a /sys-devel
parentI'm going to stop talking in dev and do some work...it'll save face (diff)
downloadgentoo-2-cc2dda3a51cdfdbc799d26f3dbb2fe06efb12ffa.tar.gz
gentoo-2-cc2dda3a51cdfdbc799d26f3dbb2fe06efb12ffa.tar.bz2
gentoo-2-cc2dda3a51cdfdbc799d26f3dbb2fe06efb12ffa.zip
make sure we dont leave $CTARGET-cc laying around since we no longer install it #143205
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'sys-devel')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.134
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.13 b/sys-devel/gcc-config/files/gcc-config-1.3.13
index b123958ad9c1..7fa32021f64d 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.3.13
+++ b/sys-devel/gcc-config/files/gcc-config-1.3.13
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.13,v 1.11 2006/07/05 23:36:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.13,v 1.12 2006/08/09 05:54:00 vapier Exp $
trap ":" INT QUIT TSTP
@@ -287,6 +287,8 @@ switch_profile() {
fi
fi
done
+ # legacy cruft, make sure we dont leave it laying around #143205
+ ${RM} -f "${ROOT}/usr/bin/${CTARGET}-cc"
# Only install cpp if switching to a native one
if ! is_cross_compiler && [[ ${CTARGET} != *-solaris* ]] ; then
${RM} -f "${ROOT}/lib/cpp"