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 | 7397ba14ad938cd0bf1809f88344ab0e1ddc52e2 (patch) | |
tree | 68394d0f371056ae1389991da6e2a0918d48e598 | |
parent | sparc stable wrt #260692 (diff) | |
download | historical-7397ba14ad938cd0bf1809f88344ab0e1ddc52e2.tar.gz historical-7397ba14ad938cd0bf1809f88344ab0e1ddc52e2.tar.bz2 historical-7397ba14ad938cd0bf1809f88344ab0e1ddc52e2.zip |
Add fix for bug #262105, sparc-only
-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" |