summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-12-31 00:33:43 +0000
committerMike Frysinger <vapier@gentoo.org>2013-12-31 00:33:43 +0000
commit2a87d38f9f1b26a3493b40cd751bbc8c81fc7204 (patch)
tree59188bb29fb3daad5a5292bc260ec811aefcf3f6 /eclass
parenteat trailing whitespace -- no functional changes (diff)
downloadgentoo-2-2a87d38f9f1b26a3493b40cd751bbc8c81fc7204.tar.gz
gentoo-2-2a87d38f9f1b26a3493b40cd751bbc8c81fc7204.tar.bz2
gentoo-2-2a87d38f9f1b26a3493b40cd751bbc8c81fc7204.zip
fix cross-compiling a stage1 with gcc-4.8 -- we can't enable c++ right away
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 3797a740d12e..1bcc36a5b061 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.617 2013/12/31 00:32:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.618 2013/12/31 00:33:43 vapier Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1932,7 +1932,7 @@ is_ada() {
is_cxx() {
gcc-lang-supported 'c++' || return 1
- tc_version_is_at_least 4.8 && return 0
+ ! is_crosscompile && tc_version_is_at_least 4.8 && return 0
use cxx
}