diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-02-12 05:02:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-02-12 05:02:07 +0000 |
commit | 56a93fdd5f11a611afcaabd71a14b151d742ba9a (patch) | |
tree | 79d5f1a0a429504151b04fed4577821322d79f46 /eclass | |
parent | fix herds.xml location (diff) | |
download | historical-56a93fdd5f11a611afcaabd71a14b151d742ba9a.tar.gz historical-56a93fdd5f11a611afcaabd71a14b151d742ba9a.tar.bz2 historical-56a93fdd5f11a611afcaabd71a14b151d742ba9a.zip |
use new tc-is-softfloat function
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files 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 |