summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-12 22:39:57 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-12 22:39:57 +0000
commitf3c43f97d3bbbac8a4c5be0ab7e2ad4e1d08a718 (patch)
tree9f5a1b0d56d78ad8ef2aeaa12975a48e372094da /eclass/toolchain.eclass
parentmake sure 5005 multilib patch is excluded for older gentoo-libdir amd64 syste... (diff)
downloadgentoo-2-f3c43f97d3bbbac8a4c5be0ab7e2ad4e1d08a718.tar.gz
gentoo-2-f3c43f97d3bbbac8a4c5be0ab7e2ad4e1d08a718.tar.bz2
gentoo-2-f3c43f97d3bbbac8a4c5be0ab7e2ad4e1d08a718.zip
add support for s390x multilib
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass9
1 files changed, 3 insertions, 6 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 49c42652d0be..4c413e1685f6 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.208 2005/10/11 23:53:59 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.209 2005/10/12 22:39:57 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1343,7 +1343,7 @@ gcc_do_filter_flags() {
strip-unsupported-flags
# dont want to funk ourselves
- filter-flags '-mabi*' -m32 -m64
+ filter-flags '-mabi*' -m31 -m32 -m64
case ${GCC_BRANCH_VER} in
3.2|3.3)
@@ -2132,11 +2132,8 @@ fix_libtool_libdir_paths() {
is_multilib() {
case ${CTARGET} in
- *-uclibc) false ;;
-
- x86_64*|mips64*|powerpc64*|sparc64*)
+ mips64*|powerpc64*|s390x*|sparc64*|x86_64*)
has_multilib_profile || use multilib ;;
-
*) false ;;
esac
}