summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-12-14 18:15:09 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-12-14 18:15:09 +0000
commit06ad0f01956301b367773a978374dc90a73ab120 (patch)
tree363595f90fbfd3886aba57c1f31c1f07ebee1032 /eclass/multilib.eclass
parentStable for AMD64, wrt bug #392845 (diff)
downloadgentoo-2-06ad0f01956301b367773a978374dc90a73ab120.tar.gz
gentoo-2-06ad0f01956301b367773a978374dc90a73ab120.tar.bz2
gentoo-2-06ad0f01956301b367773a978374dc90a73ab120.zip
Added -m32 to CFLAGS_sparc32. Allows to build sparc64-* multilib toolchain without additional tuning.
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r--eclass/multilib.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index f184277c8ef0..e291b0f800a9 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.96 2011/12/10 19:41:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.97 2011/12/14 18:15:09 slyfox Exp $
# @ECLASS: multilib.eclass
# @MAINTAINER:
@@ -348,7 +348,7 @@ multilib_env() {
: ${DEFAULT_ABI=s390x}
;;
sparc*)
- export CFLAGS_sparc32=${CFLAGS_sparc32}
+ export CFLAGS_sparc32=${CFLAGS_sparc32--m32}
export CHOST_sparc32=${CTARGET/sparc64/sparc}
export CTARGET_sparc32=${CHOST_sparc32}
export LIBDIR_sparc32="lib"