diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-01 04:57:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-01 04:57:04 +0000 |
commit | b3ce95a4e790eddcae5dcb50b4c5298f0352668e (patch) | |
tree | 10b160cddf3cbd7f3c4d244b3926dd978301c53e /sys-libs/glibc | |
parent | Disable tls if the toolchain lacks support. (diff) | |
download | gentoo-2-b3ce95a4e790eddcae5dcb50b4c5298f0352668e.tar.gz gentoo-2-b3ce95a4e790eddcae5dcb50b4c5298f0352668e.tar.bz2 gentoo-2-b3ce95a4e790eddcae5dcb50b4c5298f0352668e.zip |
Switch to common tc-has-tls function.
(Portage version: 2.2_rc51/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r-- | sys-libs/glibc/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/glibc/files/eblits/common.eblit | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog index 97b1baecf360..bf9157e22428 100644 --- a/sys-libs/glibc/ChangeLog +++ b/sys-libs/glibc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/glibc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.661 2009/11/21 07:19:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.662 2009/12/01 04:57:03 vapier Exp $ + + 01 Dec 2009; Mike Frysinger <vapier@gentoo.org> files/eblits/common.eblit: + Switch to common tc-has-tls function. *glibc-2.10.1-r1 (21 Nov 2009) diff --git a/sys-libs/glibc/files/eblits/common.eblit b/sys-libs/glibc/files/eblits/common.eblit index 6160c0fed558..cfdfd039c6d5 100644 --- a/sys-libs/glibc/files/eblits/common.eblit +++ b/sys-libs/glibc/files/eblits/common.eblit @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.9 2009/01/28 18:11:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.10 2009/12/01 04:57:04 vapier Exp $ # We need to be able to set alternative headers for # compiling for non-native platform @@ -236,10 +236,9 @@ want__thread() { [[ -n ${WANT__THREAD} ]] && return ${WANT__THREAD} - echo 'extern __thread int i;' > "${T}"/test-__thread.c - $(tc-getCC ${CTARGET}) -c "${T}"/test-__thread.c -o "${T}"/test-__thread.o &> /dev/null + # only test gcc -- cant test linking yet + tc-has-tls -c ${CTARGET} WANT__THREAD=$? - rm -f "${T}"/test-__thread.[co] return ${WANT__THREAD} } |