diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-22 15:20:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-11-22 15:20:48 +0000 |
commit | dd5c049fa986572363e90c755d52ae57be1699e2 (patch) | |
tree | 66e7f83a8e69e03934701e356db31e9b5504f4ea /eclass/toolchain.eclass | |
parent | Version bump. Add ruby19. (diff) | |
download | historical-dd5c049fa986572363e90c755d52ae57be1699e2.tar.gz historical-dd5c049fa986572363e90c755d52ae57be1699e2.tar.bz2 historical-dd5c049fa986572363e90c755d52ae57be1699e2.zip |
do not check config-lang.in in pkg_xxx funcs #391369 by Agostino Sarubbo
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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 <toolchain@gentoo.org> @@ -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"' |