From e7d2c840dc44189f001855088474acd6c7679692 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 17 Oct 2012 19:14:58 +0000 Subject: 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 --- eclass/toolchain-binutils.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'eclass/toolchain-binutils.eclass') 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 # @@ -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 -- cgit v1.2.3-65-gdbad