From c7b013bac01b7e2871d08b8ffe9749fc530193af Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 11 Oct 2005 23:53:59 +0000 Subject: Set MULTILIB_ABIS to DEFAULT_ABI if ! use multilib. --- eclass/toolchain.eclass | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index a16c84f87ea8..49c42652d0be 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.207 2005/10/11 00:00:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.208 2005/10/11 23:53:59 eradicator Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -833,7 +833,12 @@ gcc_pkg_setup() { esac # Setup variables which would normally be in the profile - is_crosscompile && is_multilib && multilib_env ${CTARGET} + if is_crosscompile ; then + multilib_env ${CTARGET} + if ! use multilib ; then + MULTILIB_ABIS=${DEFAULT_ABI} + fi + fi # we dont want to use the installed compiler's specs to build gcc! unset GCC_SPECS @@ -2130,7 +2135,7 @@ is_multilib() { *-uclibc) false ;; x86_64*|mips64*|powerpc64*|sparc64*) - is_crosscompile || has_multilib_profile || use multilib ;; + has_multilib_profile || use multilib ;; *) false ;; esac -- cgit v1.2.3-65-gdbad