diff options
author | 2007-02-12 05:05:23 +0000 | |
---|---|---|
committer | 2007-02-12 05:05:23 +0000 | |
commit | 51c16a60e41fe4c994dbb60d863af96aed2e8b4d (patch) | |
tree | 6d77e998e3afbaad5956479bafeed31fafa8c87f /sys-libs/newlib | |
parent | use new tc-is-softfloat function (diff) | |
download | gentoo-2-51c16a60e41fe4c994dbb60d863af96aed2e8b4d.tar.gz gentoo-2-51c16a60e41fe4c994dbb60d863af96aed2e8b4d.tar.bz2 gentoo-2-51c16a60e41fe4c994dbb60d863af96aed2e8b4d.zip |
use new tc-is-softfloat from toolchain-funcs.eclass
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-libs/newlib')
-rw-r--r-- | sys-libs/newlib/newlib-1.14.0.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-1.15.0.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-20061203.ebuild | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/sys-libs/newlib/newlib-1.14.0.ebuild b/sys-libs/newlib/newlib-1.14.0.ebuild index 13f66009aa2d..5f6cfbfc7fab 100644 --- a/sys-libs/newlib/newlib-1.14.0.ebuild +++ b/sys-libs/newlib/newlib-1.14.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.14.0.ebuild,v 1.3 2006/11/06 00:37:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.14.0.ebuild,v 1.4 2007/02/12 05:05:23 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} @@ -48,7 +48,7 @@ src_compile() { local myconf="" # hardwired to avoid breakages - [[ ${CTARGET} == *-softfloat-* ]] \ + [[ $(tc-is-softfloat) == "no" ]] \ && myconf="--disable-newlib-hw-fp" \ || myconf="--enable-newlib-hw-fp" [[ ${CTARGET} == "spu" ]] \ diff --git a/sys-libs/newlib/newlib-1.15.0.ebuild b/sys-libs/newlib/newlib-1.15.0.ebuild index a8052369d89f..3c2d6b612097 100644 --- a/sys-libs/newlib/newlib-1.15.0.ebuild +++ b/sys-libs/newlib/newlib-1.15.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.15.0.ebuild,v 1.2 2007/02/05 14:51:50 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.15.0.ebuild,v 1.3 2007/02/12 05:05:23 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} @@ -46,7 +46,7 @@ src_compile() { local myconf="" # hardwired to avoid breakages - [[ ${CTARGET//_/-} == *-softfloat-* ]] \ + [[ $(tc-is-softfloat) == "no" ]] \ && myconf="--disable-newlib-hw-fp" \ || myconf="--enable-newlib-hw-fp" [[ ${CTARGET} == "spu" ]] \ diff --git a/sys-libs/newlib/newlib-20061203.ebuild b/sys-libs/newlib/newlib-20061203.ebuild index 1fe00a3f7532..46725a20e428 100644 --- a/sys-libs/newlib/newlib-20061203.ebuild +++ b/sys-libs/newlib/newlib-20061203.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-20061203.ebuild,v 1.2 2006/12/10 00:46:54 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-20061203.ebuild,v 1.3 2007/02/12 05:05:23 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} @@ -47,7 +47,7 @@ src_compile() { local myconf="" # hardwired to avoid breakages - [[ ${CTARGET} == *-softfloat-* ]] \ + [[ $(tc-is-softfloat) == "no" ]] \ && myconf="--disable-newlib-hw-fp" \ || myconf="--enable-newlib-hw-fp" [[ ${CTARGET} == "spu" ]] \ |