summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-17 00:13:04 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-17 00:13:04 +0000
commit415fd74692bf49bde7b4cac45daf36d0ec83dbc1 (patch)
treec69ede35b690885123875ec6b81f95203ec55a07 /eclass
parentcombine USE and IUSE file existence check (diff)
downloadgentoo-2-415fd74692bf49bde7b4cac45daf36d0ec83dbc1.tar.gz
gentoo-2-415fd74692bf49bde7b4cac45daf36d0ec83dbc1.tar.bz2
gentoo-2-415fd74692bf49bde7b4cac45daf36d0ec83dbc1.zip
add --missing to built_with_use #167166
Diffstat (limited to '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 231e9087d959..b7b8217133c5 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.324 2007/02/16 20:32:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.325 2007/02/17 00:13:04 vapier Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -1276,7 +1276,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} crosscompile_opts_headers-only ; then
+ elif built_with_use --missing false ${CATEGORY}/${needed_libc} crosscompile_opts_headers-only ; then
confgcc="${confgcc} --disable-shared --with-sysroot=${PREFIX}/${CTARGET}"
else
confgcc="${confgcc} --with-sysroot=${PREFIX}/${CTARGET}"