OSDN Git Service

nptl/generic: Build generic libc-tls.c for non-mips architectures.
authorKhem Raj <raj.khem@gmail.com>
Wed, 30 Jun 2010 11:06:26 +0000 (04:06 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 30 Jun 2010 11:06:26 +0000 (04:06 -0700)
* 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@gmail.com>
libpthread/nptl/sysdeps/generic/Makefile.in

index 5276e35..96bf2ac 100644 (file)
@@ -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)