summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-02 05:05:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-02 05:05:28 +0000
commit8e2f2708664ff1a3c90db401bdea1a9f003bec16 (patch)
tree0d089a7c4d44a5c5e207506d2738a54dd16f4f2a /sys-devel
parentpull in localized man-pages if the user wants them (diff)
downloadgentoo-2-8e2f2708664ff1a3c90db401bdea1a9f003bec16.tar.gz
gentoo-2-8e2f2708664ff1a3c90db401bdea1a9f003bec16.tar.bz2
gentoo-2-8e2f2708664ff1a3c90db401bdea1a9f003bec16.zip
inform user they are switching cross/native compiler
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-devel')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.128
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.12 b/sys-devel/gcc-config/files/gcc-config-1.3.12
index 25abc348a769..b39391a8b720 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.3.12
+++ b/sys-devel/gcc-config/files/gcc-config-1.3.12
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 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.12,v 1.5 2005/08/25 23:06:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.12,v 1.6 2005/09/02 05:05:28 vapier Exp $
trap ":" INT QUIT TSTP
@@ -116,7 +116,11 @@ switch_profile() {
exit 1
fi
- ebegin "Switching to ${CC_COMP} compiler"
+ if is_cross_compiler ; then
+ ebegin "Switching cross-compiler to ${CC_COMP}"
+ else
+ ebegin "Switching native-compiler to ${CC_COMP}"
+ fi
# Sourcing /etc/env.d/gcc/${CC_COMP} is going to mess up
# PATH among things...