/[gentoo-x86]/eclass/toolchain-funcs.eclass
Gentoo

Diff of /eclass/toolchain-funcs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.109 Revision 1.110
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.109 2011/12/10 19:45:00 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.110 2012/05/10 03:31:22 vapier Exp $
4 4
5# @ECLASS: toolchain-funcs.eclass 5# @ECLASS: toolchain-funcs.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Toolchain Ninjas <toolchain@gentoo.org> 7# Toolchain Ninjas <toolchain@gentoo.org>
8# @BLURB: functions to query common info about the toolchain 8# @BLURB: functions to query common info about the toolchain
185# @CODE 185# @CODE
186# This allows us to react differently where packages accept 186# This allows us to react differently where packages accept
187# softfloat flags in the case where support is optional, but 187# softfloat flags in the case where support is optional, but
188# rejects softfloat flags where the target always lacks an fpu. 188# rejects softfloat flags where the target always lacks an fpu.
189tc-is-softfloat() { 189tc-is-softfloat() {
190 local CTARGET=${CTARGET:-${CHOST}}
190 case ${CTARGET} in 191 case ${CTARGET} in
191 bfin*|h8300*) 192 bfin*|h8300*)
192 echo "only" ;; 193 echo "only" ;;
193 *) 194 *)
194 [[ ${CTARGET//_/-} == *-softfloat-* ]] \ 195 [[ ${CTARGET//_/-} == *-softfloat-* ]] \

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

  ViewVC Help
Powered by ViewVC 1.1.20