Преглед изворни кода

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 година
родитељ
комит
7576366386
1 измењених фајлова са 3 додато и 2 уклоњено
  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)