From 56a93fdd5f11a611afcaabd71a14b151d742ba9a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Feb 2007 05:02:07 +0000 Subject: [PATCH] use new tc-is-softfloat function --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index a18b8d50fd01..55363ba079c9 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.322 2007/02/01 23:42:42 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.323 2007/02/12 05:02:07 vapier Exp $ HOMEPAGE="http://gcc.gnu.org/" LICENSE="GPL-2 LGPL-2.1" @@ -1231,7 +1231,7 @@ gcc_do_configure() { # ppc altivec support confgcc="${confgcc} $(use_enable altivec)" - [[ ${CTARGET//_/-} == *-softfloat-* ]] && confgcc="${confgcc} --with-float=soft" + [[ $(tc-is-softfloat) == "yes" ]] && confgcc="${confgcc} --with-float=soft" # Native Language Support if use nls && ! use build ; then -- 2.26.2