diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2006-08-04 21:58:03 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2006-08-04 21:58:03 +0000 |
commit | 69c307cd28253e41a6afa769a076844a1a5750eb (patch) | |
tree | 9a1a573a89cd43e0ffea96158db4bf238cc1cbe5 /eclass | |
parent | tsk tsk fix typo (diff) | |
download | gentoo-2-69c307cd28253e41a6afa769a076844a1a5750eb.tar.gz gentoo-2-69c307cd28253e41a6afa769a076844a1a5750eb.tar.bz2 gentoo-2-69c307cd28253e41a6afa769a076844a1a5750eb.zip |
Moved eclasses to use CROSSCOMPILE_OPTS USE_EXPAND environment variable.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 | ||||
-rw-r--r-- | eclass/toolchain.eclass | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index c5a3e117ec87..0882fb9eaf4f 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.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/kernel-2.eclass,v 1.186 2006/08/04 04:24:22 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.187 2006/08/04 21:58:02 kugelfang Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -324,7 +324,7 @@ kernel_header_destdir() { } cross_pre_c_headers() { - has _E_CROSS_HEADERS_ONLY ${USE} && [[ ${CHOST} != ${CTARGET} ]] + use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] } env_setup_xmakeopts() { 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}" |