summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2006-08-04 21:58:03 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2006-08-04 21:58:03 +0000
commitdc2484ced04e5284689ff516fca4660e4e2acb42 (patch)
tree458fc0ca5dd8e0d2da66850bdccc83093b3c32d2 /eclass/toolchain.eclass
parenttsk tsk fix typo (diff)
downloadhistorical-dc2484ced04e5284689ff516fca4660e4e2acb42.tar.gz
historical-dc2484ced04e5284689ff516fca4660e4e2acb42.tar.bz2
historical-dc2484ced04e5284689ff516fca4660e4e2acb42.zip
Moved eclasses to use CROSSCOMPILE_OPTS USE_EXPAND environment variable.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index a84bd9954ce8..5d8056d398e2 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.299 2006/08/02 18:01:03 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.300 2006/08/04 21:58:03 kugelfang Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -1260,7 +1260,7 @@ gcc_do_configure() {
if [[ -n ${needed_libc} ]] ; then
if ! has_version ${CATEGORY}/${needed_libc} ; then
confgcc="${confgcc} --disable-shared --disable-threads --without-headers"
- elif built_with_use ${CATEGORY}/${needed_libc} _E_CROSS_HEADERS_ONLY ; then
+ elif built_with_use ${CATEGORY}/${needed_libc} crosscompile_opts_headers-only ; then
confgcc="${confgcc} --disable-shared --with-sysroot=${PREFIX}/${CTARGET}"
else
confgcc="${confgcc} --with-sysroot=${PREFIX}/${CTARGET}"