summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/generic/Makefile.in
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-06-30 04:06:26 -0700
committerKhem Raj <raj.khem@gmail.com>2010-06-30 04:06:26 -0700
commit7576366386a8a0c71d1efdda3f8cd8e1724a8c23 (patch)
treea1d035392c73e8680d41d98ad38936e7c03e41ae /libpthread/nptl/sysdeps/generic/Makefile.in
parent38830bf257298bec1291ef4d09ebcc1dbf92eae0 (diff)
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>
Diffstat (limited to 'libpthread/nptl/sysdeps/generic/Makefile.in')
-rw-r--r--libpthread/nptl/sysdeps/generic/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/generic/Makefile.in b/libpthread/nptl/sysdeps/generic/Makefile.in
index 5276e3574..96bf2ac6d 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)