summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-04 17:51:25 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-04 17:51:25 +0000
commit0b83b50d67dfd1ba970b531c1ed0581c0e21a76a (patch)
tree88ff96871cbf32706e5ebd72b5f87855c7e55c3c /eclass/toolchain.eclass
parentminor install fix (diff)
downloadhistorical-0b83b50d67dfd1ba970b531c1ed0581c0e21a76a.tar.gz
historical-0b83b50d67dfd1ba970b531c1ed0581c0e21a76a.tar.bz2
historical-0b83b50d67dfd1ba970b531c1ed0581c0e21a76a.zip
Changing CTARGET_ALIASES to FAKE_TARGETS for consistency with binutils.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 1a92c97d9b40..5b198ac6eb34 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.119 2005/03/04 14:03:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.120 2005/03/04 17:51:25 eradicator Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -631,19 +631,19 @@ create_gcc_env_entry() {
local ctarget_alias
local abi
- local CTARGET_ALIASES=""
+ local FAKE_TARGETS=""
for abi in $(get_all_abis) ; do
- for ctarget_alias in $(get_abi_CHOST ${abi}) $(get_abi_CTARGET_ALIASES ${abi}) ; do
+ for ctarget_alias in $(get_abi_CHOST ${abi}) $(get_abi_FAKE_TARGETS ${abi}) ; do
if [[ ${ctarget_alias} != ${CHOST} ]] ; then
- CTARGET_ALIASES="${CTARGET_ALIASES+${CTARGET_ALIASES} }${ctarget_alias}"
+ FAKE_TARGETS="${FAKE_TARGETS+${FAKE_TARGETS} }${ctarget_alias}"
local var="CFLAGS_${ctarget_alias//-/_}"
echo "${var}=\"$(get_abi_CFLAGS ${abi}) ${!var}\"" >> ${gcc_envd_file}
fi
done
done
- if [[ -n ${CTARGET_ALIASES} ]] ; then
- echo "CTARGET_ALIASES=\"${CTARGET_ALIASES}\"" >> ${gcc_envd_file}
+ if [[ -n ${FAKE_TARGETS} ]] ; then
+ echo "FAKE_TARGETS=\"${FAKE_TARGETS}\"" >> ${gcc_envd_file}
fi
elif is_crosscompile ; then
echo "CTARGET=${CTARGET}" >> ${gcc_envd_file}