summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-10-17 19:14:58 +0000
committerMike Frysinger <vapier@gentoo.org>2012-10-17 19:14:58 +0000
commitce47650394981aa1adbf37f3aa64bdabd9f67042 (patch)
tree158990acdc289dd479f7607e4d1dfe93a68e361a /eclass/toolchain-binutils.eclass
parentarm stable, bug #394809 (diff)
downloadgentoo-2-ce47650394981aa1adbf37f3aa64bdabd9f67042.tar.gz
gentoo-2-ce47650394981aa1adbf37f3aa64bdabd9f67042.tar.bz2
gentoo-2-ce47650394981aa1adbf37f3aa64bdabd9f67042.zip
only force enable 64bit bfd when doing USE=multitarget as it provides no benefit for 32bit targets, and 64bit targets automatically enable this option #438522 by Siarhei Siamashka
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 06a623f7ff26..84d373a6759c 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.118 2012/07/27 17:05:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.119 2012/10/17 19:14:58 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -254,7 +254,7 @@ toolchain-binutils_src_compile() {
myconf+=( $(use_with zlib) )
fi
- use multitarget && myconf+=( --enable-targets=all )
+ use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
[[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
is_cross && myconf+=( --with-sysroot=/usr/${CTARGET} )
@@ -274,7 +274,6 @@ toolchain-binutils_src_compile() {
--libdir=${LIBPATH}
--libexecdir=${LIBPATH}
--includedir=${INCPATH}
- --enable-64-bit-bfd
--enable-obsolete
--enable-shared
--enable-threads