diff options
author | 2012-03-21 21:12:24 -0400 | |
---|---|---|
committer | 2012-03-21 21:12:24 -0400 | |
commit | ca9424c8ef74f6f06abb112d79498856df3c9155 (patch) | |
tree | fae63b9dd45298fa9c4567ee307019b20cdfcab4 | |
parent | gcc-config: only symlink libs into / if /usr is split (diff) | |
download | gcc-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-x | gcc-config | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |