Gentoo Archives: gentoo-commits

From: "Mark Loeser (halcy0n)" <halcy0n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
Date: Sat, 02 May 2009 02:38:29
Message-Id: E1M057R-0001QQ-Fp@stork.gentoo.org
1 halcy0n 09/05/02 02:38:25
2
3 Modified: src_compile.eblit
4 Log:
5 Disable selinux on crosscompile; bug #186780
6 (Portage version: 2.2_rc31/cvs/Linux i686)
7
8 Revision Changes Path
9 1.7 sys-libs/glibc/files/eblits/src_compile.eblit
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.6&r2=1.7
14
15 Index: src_compile.eblit
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- src_compile.eblit 29 Nov 2008 21:05:49 -0000 1.6
22 +++ src_compile.eblit 2 May 2009 02:38:25 -0000 1.7
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.6 2008/11/29 21:05:49 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.7 2009/05/02 02:38:25 halcy0n Exp $
28
29 glibc_do_configure() {
30 local myconf
31 @@ -55,7 +55,8 @@
32 # Since SELinux support is only required for nscd, only enable it if:
33 # 1. USE selinux
34 # 2. only for the primary ABI on multilib systems
35 - if use selinux ; then
36 + # 3. Not a crosscompile
37 + if ! is_crosscompile && use selinux ; then
38 if use multilib || has_multilib_profile ; then
39 if is_final_abi ; then
40 myconf="${myconf} --with-selinux"