From dd5c049fa986572363e90c755d52ae57be1699e2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 22 Nov 2011 15:20:48 +0000 Subject: do not check config-lang.in in pkg_xxx funcs #391369 by Agostino Sarubbo --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/toolchain.eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 7b55ab6fb64b..5dcf26079793 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.481 2011/11/21 01:43:44 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.482 2011/11/22 15:20:48 vapier Exp $ # # Maintainer: Toolchain Ninjas @@ -776,7 +776,7 @@ toolchain_pkg_setup() { # we dont want to use the installed compiler's specs to build gcc! unset GCC_SPECS - if ! is_cxx ; then + if ! use_if_iuse cxx ; then use_if_iuse go && ewarn 'Go requires a C++ compiler, disabled due to USE="-cxx"' use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="-cxx"' use_if_iuse gcj && ewarn 'GCJ requires a C++ compiler, disabled due to USE="-cxx"' -- cgit v1.2.3-65-gdbad