Browse Source

nptl/generic: Build generic libc-tls.c for non-mips architectures.

	* 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>
Khem Raj 14 years ago
parent
commit
7576366386
1 changed files with 3 additions and 2 deletions
  1. 3 2
      libpthread/nptl/sysdeps/generic/Makefile.in

+ 3 - 2
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)