From: | "Ryan Hill (dirtyepic)" <dirtyepic@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass |
Date: | Mon, 20 Oct 2008 01:04:41 |
Message-Id: | E1KrjCI-0000OJ-Id@stork.gentoo.org |
1 | dirtyepic 08/10/20 01:04:38 |
2 | |
3 | Modified: toolchain.eclass |
4 | Log: |
5 | Make USE='-openmp' work. Bug #234841. |
6 | |
7 | Revision Changes Path |
8 | 1.363 eclass/toolchain.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.363&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.363&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?r1=1.362&r2=1.363 |
13 | |
14 | Index: toolchain.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v |
17 | retrieving revision 1.362 |
18 | retrieving revision 1.363 |
19 | diff -u -r1.362 -r1.363 |
20 | --- toolchain.eclass 29 Sep 2008 01:48:17 -0000 1.362 |
21 | +++ toolchain.eclass 20 Oct 2008 01:04:38 -0000 1.363 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2008 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.362 2008/09/29 01:48:17 vapier Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.363 2008/10/20 01:04:38 dirtyepic Exp $ |
27 | # |
28 | # Maintainer: Toolchain Ninjas <toolchain@g.o> |
29 | |
30 | @@ -1156,6 +1156,10 @@ |
31 | confgcc="${confgcc} --disable-libssp" |
32 | fi |
33 | |
34 | + if tc_version_is_at_least "4.2" ; then |
35 | + confgcc="${confgcc} $(use_enable openmp libgomp)" |
36 | + fi |
37 | + |
38 | # enable the cld workaround until we move things to stable. |
39 | # by that point, the rest of the software out there should |
40 | # have caught up. |