diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-19 23:02:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-19 23:02:56 +0000 |
commit | ff0b9b8cc84bdc55dd9b1aefc5876459606c0459 (patch) | |
tree | 170508940db6173ee314ba4840c7267f327b8989 /eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-ff0b9b8cc84bdc55dd9b1aefc5876459606c0459.tar.gz gentoo-2-ff0b9b8cc84bdc55dd9b1aefc5876459606c0459.tar.bz2 gentoo-2-ff0b9b8cc84bdc55dd9b1aefc5876459606c0459.zip |
handle yet newer style of gold+bfd parallel installs configure option #315995 by Johannes Nixdorf
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 7f25920ec2ff..447f0d3777ed 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.90 2010/03/07 16:32:07 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.91 2010/04/19 23:02:56 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> # @@ -196,7 +196,9 @@ toolchain-binutils_src_compile() { cd "${MY_BUILDDIR}" local myconf="" # new versions allow gold and ld; screw older versions - if grep -q 'enable-gold=both/bfd' "${S}"/configure ; then + if grep -q 'enable-gold=both/ld' "${S}"/configure ; then + myconf="${myconf} --enable-gold=both/ld" + elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then myconf="${myconf} --enable-gold=both/bfd" fi use nls \ |