summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-12 05:02:07 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-12 05:02:07 +0000
commit9f9d2dac41d3a7229871346f06d67ca6b241b1a5 (patch)
tree6ddd9c5ccb5fcfb3d2b7689870f969379c8731c5 /eclass
parentfix herds.xml location (diff)
downloadgentoo-2-9f9d2dac41d3a7229871346f06d67ca6b241b1a5.tar.gz
gentoo-2-9f9d2dac41d3a7229871346f06d67ca6b241b1a5.tar.bz2
gentoo-2-9f9d2dac41d3a7229871346f06d67ca6b241b1a5.zip
use new tc-is-softfloat function
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
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