Gentoo Archives: gentoo-commits

From: "Joshua Kinard (kumba)" <kumba@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Fri, 24 Oct 2008 07:30:40
Message-Id: E1KtH7z-0006hv-Jn@stork.gentoo.org
1 kumba 08/10/24 07:30:35
2
3 Modified: toolchain.eclass
4 Log:
5 Add a configure switch for gcc-4.3's fixed-point arithmetic support for MIPS targets, as enabling this support lengthens gcc's compile time by several hours, depending on the machine.
6
7 Revision Changes Path
8 1.364 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.364&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.364&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?r1=1.363&r2=1.364
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.363
18 retrieving revision 1.364
19 diff -u -r1.363 -r1.364
20 --- toolchain.eclass 20 Oct 2008 01:04:38 -0000 1.363
21 +++ toolchain.eclass 24 Oct 2008 07:30:35 -0000 1.364
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.363 2008/10/20 01:04:38 dirtyepic Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.364 2008/10/24 07:30:35 kumba Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -155,6 +155,7 @@
31 tc_version_is_at_least "4.0" && IUSE="${IUSE} objc-gc mudflap"
32 tc_version_is_at_least "4.1" && IUSE="${IUSE} objc++"
33 tc_version_is_at_least "4.2" && IUSE="${IUSE} openmp"
34 + tc_version_is_at_least "4.3" && IUSE="${IUSE} fixed-point"
35 fi
36 fi
37
38 @@ -1266,6 +1267,12 @@
39 # ppc altivec support
40 confgcc="${confgcc} $(use_enable altivec)"
41
42 + # gcc has fixed-point arithmetic support in 4.3 for mips targets that can
43 + # significantly increase compile time by several hours. This will allow
44 + # users to control this feature in the event they need the support.
45 + tc_version_is_at_least "4.3" && confgcc="${confgcc} $(use_enable fixed-point)"
46 +
47 +
48 [[ $(tc-is-softfloat) == "yes" ]] && confgcc="${confgcc} --with-float=soft"
49
50 # Native Language Support