From: | "Raul Porcel (armin76)" <armin76@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass |
Date: | Fri, 23 Apr 2010 18:58:09 |
Message-Id: | 20100423185807.0C0512C04B@corvid.gentoo.org |
1 | armin76 10/04/23 18:58:06 |
2 | |
3 | Modified: toolchain.eclass |
4 | Log: |
5 | Use hardfloat only if hardfloat is true |
6 | |
7 | Revision Changes Path |
8 | 1.423 eclass/toolchain.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.423&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.423&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?r1=1.422&r2=1.423 |
13 | |
14 | Index: toolchain.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v |
17 | retrieving revision 1.422 |
18 | retrieving revision 1.423 |
19 | diff -u -r1.422 -r1.423 |
20 | --- toolchain.eclass 20 Apr 2010 17:47:09 -0000 1.422 |
21 | +++ toolchain.eclass 23 Apr 2010 18:58:06 -0000 1.423 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2008 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.422 2010/04/20 17:47:09 armin76 Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.423 2010/04/23 18:58:06 armin76 Exp $ |
27 | # |
28 | # Maintainer: Toolchain Ninjas <toolchain@g.o> |
29 | |
30 | @@ -1241,9 +1241,9 @@ |
31 | [[ ${arm_arch} == *eb ]] && arm_arch=${arm_arch%eb} |
32 | confgcc="${confgcc} --with-arch=${arm_arch}" |
33 | fi |
34 | - |
35 | + |
36 | # Enable hardvfp |
37 | - if [[ ${CTARGET##*-} == *eabi ]] && [[ $(tc-is-softfloat) == no ]] && \ |
38 | + if [[ ${CTARGET##*-} == *eabi ]] && [[ $(tc-is-hardfloat) == yes ]] && \ |
39 | tc_version_is_at_least "4.5" ; then |
40 | confgcc="${confgcc} --with-float=hard" |
41 | fi |