diff options
author | Travis Tilley <lv@gentoo.org> | 2004-09-08 21:08:22 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-09-08 21:08:22 +0000 |
commit | ea94eade46f3fcba98d7a72c46860a33571cf5ee (patch) | |
tree | ef79fd46d5b8f3cf620a7005ba1c00be8712522d /eclass/toolchain.eclass | |
parent | change multilib behavior: instead of using 'use multilib' to enable multilib,... (diff) | |
download | gentoo-2-ea94eade46f3fcba98d7a72c46860a33571cf5ee.tar.gz gentoo-2-ea94eade46f3fcba98d7a72c46860a33571cf5ee.tar.bz2 gentoo-2-ea94eade46f3fcba98d7a72c46860a33571cf5ee.zip |
force enable multilib only on archs known to support it, just to be safe
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 3a42afd96056..66abcdb9e44c 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.8 2004/09/08 21:01:38 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.9 2004/09/08 21:08:22 lv Exp $ # # This eclass should contain general toolchain-related functions that are # expected to not change, or change much. @@ -573,7 +573,9 @@ gcc_do_configure() { fi # multilib support - if use !nomultilib && [ -z "${GCC_TARGET_NO_MULTILIB}" ] ; then + if [ -n "${GCC_TARGET_NO_MULTILIB}" ] ; then + confgcc="${confgcc} --disable-multilib" + elif use !nomultilib && (use amd64 || use mips) ; then confgcc="${confgcc} --enable-multilib" else confgcc="${confgcc} --disable-multilib" |