[git commit master 1/1] nptl/generic: Build generic libc-tls.c for non-mips architectures.

Khem Raj raj.khem at gmail.com
Wed Jun 30 11:10:37 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=7576366386a8a0c71d1efdda3f8cd8e1724a8c23
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

	* mips has it own variant.
	* we dont need to build dl-tls.c here its already
	  built as part of ldso.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 libpthread/nptl/sysdeps/generic/Makefile.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libpthread/nptl/sysdeps/generic/Makefile.in b/libpthread/nptl/sysdeps/generic/Makefile.in
index 5276e35..96bf2ac 100644
--- a/libpthread/nptl/sysdeps/generic/Makefile.in
+++ b/libpthread/nptl/sysdeps/generic/Makefile.in
@@ -10,8 +10,9 @@
 #       their architecture specific directory which will override
 #       the one here.
 #
-libc_a_CSRC = dl-tls.c libc-tls.c
-
+ifneq ($(TARGET_ARCH),mips)
+	libc_a_CSRC = libc-tls.c
+endif
 
 CFLAGS-generic = $(SSP_ALL_CFLAGS)
 #CFLAGS:=$(CFLAGS:-O1=-O2)
-- 
1.7.1



More information about the uClibc-cvs mailing list