aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-21 21:12:24 -0400
committerMike Frysinger <vapier@gentoo.org>2012-03-21 21:12:24 -0400
commitca9424c8ef74f6f06abb112d79498856df3c9155 (patch)
treefae63b9dd45298fa9c4567ee307019b20cdfcab4
parentgcc-config: only symlink libs into / if /usr is split (diff)
downloadgcc-config-ca9424c8ef74f6f06abb112d79498856df3c9155.tar.gz
gcc-config-ca9424c8ef74f6f06abb112d79498856df3c9155.tar.bz2
gcc-config-ca9424c8ef74f6f06abb112d79498856df3c9155.zip
gcc-config: fix -c behavior with cross-targets
Looks like a thinko snuck into get_current_profile with the old file upgrade during the big 1.4.1 -> 1.5 rewrite. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xgcc-config4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc-config b/gcc-config
index e9de1d7..275a747 100755
--- a/gcc-config
+++ b/gcc-config
@@ -424,10 +424,6 @@ switch_profile() {
get_current_profile() {
local conf="${GCC_ENV_D}/config-${CTARGET}"
- if [[ -f ${conf} ]] && [[ -n ${CC_COMP} ]] && is_cross_compiler ; then
- conf="${conf}-${CC_COMP}"
- fi
-
if [[ ! -f ${conf} ]] ; then
eerror "${argv0}: No gcc profile is active!"
return 1