Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Tue, 31 Dec 2013 00:33:47
Message-Id: 20131231003344.31ABF2004C@flycatcher.gentoo.org
1 vapier 13/12/31 00:33:44
2
3 Modified: toolchain.eclass
4 Log:
5 fix cross-compiling a stage1 with gcc-4.8 -- we can't enable c++ right away
6
7 Revision Changes Path
8 1.618 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.618&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.618&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.617&r2=1.618
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.617
18 retrieving revision 1.618
19 diff -u -r1.617 -r1.618
20 --- toolchain.eclass 31 Dec 2013 00:32:43 -0000 1.617
21 +++ toolchain.eclass 31 Dec 2013 00:33:43 -0000 1.618
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2013 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.617 2013/12/31 00:32:43 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.618 2013/12/31 00:33:43 vapier Exp $
27
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -1932,7 +1932,7 @@
31
32 is_cxx() {
33 gcc-lang-supported 'c++' || return 1
34 - tc_version_is_at_least 4.8 && return 0
35 + ! is_crosscompile && tc_version_is_at_least 4.8 && return 0
36 use cxx
37 }