summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-12-15 10:06:37 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-12-15 10:06:37 +0000
commit3e39e56fc0998582589bb5755b348e66100255da (patch)
tree7b0973b6fb884bfd678fbaecaf3f938ba21e7907 /eclass/toolchain.eclass
parentVersion bump. Closes #74340. (Manifest recommit) (diff)
downloadgentoo-2-3e39e56fc0998582589bb5755b348e66100255da.tar.gz
gentoo-2-3e39e56fc0998582589bb5755b348e66100255da.tar.bz2
gentoo-2-3e39e56fc0998582589bb5755b348e66100255da.zip
Added sparc to multilib logic.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index f59dcfdb630b..35582235a1bf 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.68 2004/12/13 19:58:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.69 2004/12/15 10:06:37 eradicator Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
@@ -597,6 +597,8 @@ create_gcc_env_entry() {
use ppc64 && multilib_dirnames="64 32"
# same here.
use mips && multilib_dirnames="o32 32 64"
+ # in theory, sparc can have either as default, so add both
+ use sparc && multilib_dirnames="64 32"
LDPATH="${LIBPATH}"
@@ -1039,7 +1041,7 @@ gcc-library-configure() {
gcc-compiler-configure() {
# multilib support
- if use multilib && (use amd64 || use mips)
+ if use multilib && (use amd64 || use mips || use sparc)
then
confgcc="${confgcc} --enable-multilib"
else