diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-23 23:37:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-23 23:37:26 +0000 |
commit | 8fd0e83f3ae6d56539a358f92aca7d595ef838d6 (patch) | |
tree | 24abedf01728d7e7f3a3c16a3da3474cd4f6b3ef /eclass | |
parent | Drop USE=applet from metadata.xml. (diff) | |
download | historical-8fd0e83f3ae6d56539a358f92aca7d595ef838d6.tar.gz historical-8fd0e83f3ae6d56539a358f92aca7d595ef838d6.tar.bz2 historical-8fd0e83f3ae6d56539a358f92aca7d595ef838d6.zip |
re-enable 64bit bfd for arches which want to do bi-arch #446946
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index d18320474760..8aefa0e9e60c 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.121 2012/11/26 18:06:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.122 2012/12/23 23:37:26 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> # @@ -253,6 +253,13 @@ toolchain-binutils_src_compile() { myconf+=( $(use_with zlib) ) fi + # For bi-arch systems, enable a 64bit bfd. This matches + # the bi-arch logic in toolchain.eclass. #446946 + # We used to do it for everyone, but it's slow on 32bit arches. #438522 + case $(tc-arch) in + ppc|sparc|x86) myconf+=( --enable-64-bit-bfd ) ;; + esac + use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) [[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} ) is_cross && myconf+=( --with-sysroot=/usr/${CTARGET} ) |