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
commitbbdee8f5745045dcb071e50248785b308317d044 (patch)
treebd88aed2fcce2281fdf9f438f75faccb5c63d33e /eclass/toolchain-binutils.eclass
parentpunt versions requiring libpng 1.2 #346717 by Brandon Captain (diff)
downloadgentoo-2-bbdee8f5745045dcb071e50248785b308317d044.tar.gz
gentoo-2-bbdee8f5745045dcb071e50248785b308317d044.tar.bz2
gentoo-2-bbdee8f5745045dcb071e50248785b308317d044.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"