Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: common.eblit
Date: Tue, 01 Dec 2009 04:57:06
Message-Id: E1NFKnQ-0003rI-91@stork.gentoo.org
1 vapier 09/12/01 04:57:04
2
3 Modified: common.eblit
4 Log:
5 Switch to common tc-has-tls function.
6 (Portage version: 2.2_rc51/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.10 sys-libs/glibc/files/eblits/common.eblit
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?r1=1.9&r2=1.10
14
15 Index: common.eblit
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- common.eblit 28 Jan 2009 18:11:41 -0000 1.9
22 +++ common.eblit 1 Dec 2009 04:57:04 -0000 1.10
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/common.eblit,v 1.9 2009/01/28 18:11:41 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.10 2009/12/01 04:57:04 vapier Exp $
28
29 # We need to be able to set alternative headers for
30 # compiling for non-native platform
31 @@ -236,10 +236,9 @@
32
33 [[ -n ${WANT__THREAD} ]] && return ${WANT__THREAD}
34
35 - echo 'extern __thread int i;' > "${T}"/test-__thread.c
36 - $(tc-getCC ${CTARGET}) -c "${T}"/test-__thread.c -o "${T}"/test-__thread.o &> /dev/null
37 + # only test gcc -- cant test linking yet
38 + tc-has-tls -c ${CTARGET}
39 WANT__THREAD=$?
40 - rm -f "${T}"/test-__thread.[co]
41
42 return ${WANT__THREAD}
43 }