Gentoo Archives: gentoo-commits

From: "George Shapovalov (george)" <george@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: gnatbuild.eclass
Date: Sat, 25 Apr 2009 10:46:03
Message-Id: E1LxfOT-0003Ow-IQ@stork.gentoo.org
1 george 09/04/25 10:46:01
2
3 Modified: gnatbuild.eclass
4 Log:
5 added proper multilib support (#266769)
6
7 Revision Changes Path
8 1.47 eclass/gnatbuild.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.47&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.47&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?r1=1.46&r2=1.47
13
14 Index: gnatbuild.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v
17 retrieving revision 1.46
18 retrieving revision 1.47
19 diff -u -r1.46 -r1.47
20 --- gnatbuild.eclass 3 Feb 2009 13:58:54 -0000 1.46
21 +++ gnatbuild.eclass 25 Apr 2009 10:46:01 -0000 1.47
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2006 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.46 2009/02/03 13:58:54 george Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.47 2009/04/25 10:46:01 george Exp $
27 #
28 # Author: George Shapovalov <george@g.o>
29 # Belongs to: ada herd <ada@g.o>
30 @@ -484,6 +484,14 @@
31 else
32 confgcc="${confgcc} --enable-libada"
33 fi
34 +
35 + # multilib support
36 + if is_multilib ; then
37 + confgcc="${confgcc} --enable-multilib"
38 + else
39 + confgcc="${confgcc} --disable-multilib"
40 + fi
41 +
42 # einfo "confgcc=${confgcc}"
43
44 cd "${GNATBUILD}"