diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-05-24 16:57:43 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-05-24 16:57:43 +0000 |
commit | 4a0c0ca86a5f614a7fb6db52f3c72b68673c8d54 (patch) | |
tree | 3e03adda6fc9d2327ef6458d4d7a04f8f2a2eefa /eclass | |
parent | sparc stable wrt #260692 (diff) | |
download | gentoo-2-4a0c0ca86a5f614a7fb6db52f3c72b68673c8d54.tar.gz gentoo-2-4a0c0ca86a5f614a7fb6db52f3c72b68673c8d54.tar.bz2 gentoo-2-4a0c0ca86a5f614a7fb6db52f3c72b68673c8d54.zip |
Add fix for bug #262105, sparc-only
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 226af1a7bd71..8294df0245bd 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.398 2009/05/07 23:56:12 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.399 2009/05/24 16:57:43 armin76 Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1400,6 +1400,7 @@ gcc_do_configure() { # create a sparc*linux*-{gcc,g++} that can handle -m32 and -m64 (biarch) if [[ ${CTARGET} == sparc*linux* ]] \ && is_multilib \ + && ! is_crosscompile \ && [[ ${GCCMAJOR}.${GCCMINOR} > 4.2 ]] then confgcc="${confgcc} --enable-targets=all" |