summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-01 11:22:11 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-01 11:22:11 +0000
commitc6b4d797d86617ce34595712b7c017b79fee3b03 (patch)
tree102063c8b2cb742da1ae9e51659b76ba6c06189e /eclass/toolchain-binutils.eclass
parentpunt versions requiring libpng 1.2 #346717 by Brandon Captain (diff)
downloadhistorical-c6b4d797d86617ce34595712b7c017b79fee3b03.tar.gz
historical-c6b4d797d86617ce34595712b7c017b79fee3b03.tar.bz2
historical-c6b4d797d86617ce34595712b7c017b79fee3b03.zip
add --enable-plugins when ld/configure supports it
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 447f0d3777ed..3ef1c02fecfb 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.91 2010/04/19 23:02:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.92 2010/12/01 11:22:11 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -201,6 +201,9 @@ toolchain-binutils_src_compile() {
elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then
myconf="${myconf} --enable-gold=both/bfd"
fi
+ if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then
+ myconf="${myconf} --enable-plugins"
+ fi
use nls \
&& myconf="${myconf} --without-included-gettext" \
|| myconf="${myconf} --disable-nls"