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
commit079bbbe465d1cb295f52bddfb423d3d03ac7a7fc (patch)
tree283a4a4e12509a4144e1e385d3516a2cb4b4a515 /eclass
parenteat trailing whitespace -- no functional changes (diff)
downloadhistorical-079bbbe465d1cb295f52bddfb423d3d03ac7a7fc.tar.gz
historical-079bbbe465d1cb295f52bddfb423d3d03ac7a7fc.tar.bz2
historical-079bbbe465d1cb295f52bddfb423d3d03ac7a7fc.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
}