Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Sun, 03 Jun 2012 09:02:58
Message-Id: 20120603090236.612932004B@flycatcher.gentoo.org
1 vapier 12/06/03 09:02:36
2
3 Modified: toolchain.eclass
4 Log:
5 always build up the multilib list for gcc even when --disable-multilib as it needs that info when picking the default target (to make native x32 work again)
6
7 Revision Changes Path
8 1.547 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.547&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.547&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.546&r2=1.547
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.546
18 retrieving revision 1.547
19 diff -u -r1.546 -r1.547
20 --- toolchain.eclass 3 Jun 2012 09:00:54 -0000 1.546
21 +++ toolchain.eclass 3 Jun 2012 09:02:36 -0000 1.547
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2012 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.546 2012/06/03 09:00:54 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.547 2012/06/03 09:02:36 vapier Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -811,10 +811,12 @@
31 }
32
33 gcc-multilib-configure() {
34 - # if multilib is disabled, get out quick!
35 if ! is_multilib ; then
36 confgcc+=" --disable-multilib"
37 - return
38 + # Fun times: if we are building for a target that has multiple
39 + # possible ABI formats, and the user has told us to pick one
40 + # that isn't the default, then not specifying it via the list
41 + # below will break that on us.
42 else
43 confgcc+=" --enable-multilib"
44 fi