summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich Oslage <bluebird@gentoo.org>2008-06-22 13:57:42 +0000
committerFriedrich Oslage <bluebird@gentoo.org>2008-06-22 13:57:42 +0000
commitc954dba287d3fb3170c0aab37fa90a386e74b8be (patch)
tree4f137618c92bf6ed67599120e1c6645f395b32a4 /eclass/multilib.eclass
parentVersion bump. (diff)
downloadgentoo-2-c954dba287d3fb3170c0aab37fa90a386e74b8be.tar.gz
gentoo-2-c954dba287d3fb3170c0aab37fa90a386e74b8be.tar.bz2
gentoo-2-c954dba287d3fb3170c0aab37fa90a386e74b8be.zip
add support for 32bit userland with multilib on sparc
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r--eclass/multilib.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 275710a94238..c2a048d832f5 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.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/multilib.eclass,v 1.66 2008/06/01 01:38:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.67 2008/06/22 13:57:42 bluebird Exp $
# @ECLASS: multilib.eclass
# @MAINTAINER:
@@ -621,8 +621,8 @@ multilib_env() {
export MULTILIB_ABIS="s390x s390"
export DEFAULT_ABI="s390x"
;;
- sparc64*)
- export CFLAGS_sparc32=${CFLAGS_sparc32--m32}
+ sparc*)
+ export CFLAGS_sparc32=${CFLAGS_sparc32}
export CHOST_sparc32=${CTARGET/sparc64/sparc}
export CTARGET_sparc32=${CHOST_sparc32}
export CDEFINE_sparc32="!__arch64__"
@@ -634,8 +634,8 @@ multilib_env() {
export CDEFINE_sparc64="__arch64__"
export LIBDIR_sparc64="lib64"
- export MULTILIB_ABIS="sparc64 sparc32"
- export DEFAULT_ABI="sparc64"
+ export MULTILIB_ABIS="${MULTILIB_ABIS-sparc64 sparc32}"
+ export DEFAULT_ABI="${DEFAULT_ABI-sparc64}"
;;
*)
export MULTILIB_ABIS="default"