From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass |
Date: | Mon, 19 Apr 2010 23:02:59 |
Message-Id: | 20100419230257.190042C04B@corvid.gentoo.org |
1 | vapier 10/04/19 23:02:57 |
2 | |
3 | Modified: toolchain-binutils.eclass |
4 | Log: |
5 | handle yet newer style of gold+bfd parallel installs configure option #315995 by Johannes Nixdorf |
6 | |
7 | Revision Changes Path |
8 | 1.91 eclass/toolchain-binutils.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.91&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.91&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.90&r2=1.91 |
13 | |
14 | Index: toolchain-binutils.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v |
17 | retrieving revision 1.90 |
18 | retrieving revision 1.91 |
19 | diff -u -r1.90 -r1.91 |
20 | --- toolchain-binutils.eclass 7 Mar 2010 16:32:07 -0000 1.90 |
21 | +++ toolchain-binutils.eclass 19 Apr 2010 23:02:56 -0000 1.91 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2010 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.90 2010/03/07 16:32:07 vapier Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.91 2010/04/19 23:02:56 vapier Exp $ |
27 | # |
28 | # Maintainer: Toolchain Ninjas <toolchain@g.o> |
29 | # |
30 | @@ -196,7 +196,9 @@ |
31 | cd "${MY_BUILDDIR}" |
32 | local myconf="" |
33 | # new versions allow gold and ld; screw older versions |
34 | - if grep -q 'enable-gold=both/bfd' "${S}"/configure ; then |
35 | + if grep -q 'enable-gold=both/ld' "${S}"/configure ; then |
36 | + myconf="${myconf} --enable-gold=both/ld" |
37 | + elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then |
38 | myconf="${myconf} --enable-gold=both/bfd" |
39 | fi |
40 | use nls \ |