summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-11 12:04:05 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-11 12:04:05 -0800
commitab40337e2c045a6a51071400fd9782173c41bd04 (patch)
tree0b6fc36a90723beab63deab1cb15549baa6cec6c
parentf77f0e479274d401b36efce2e1e2a44753157daf (diff)
libc: build tsd only when tls is enabled
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--libc/misc/pthread/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/pthread/Makefile.in b/libc/misc/pthread/Makefile.in
index 48e816236..18674ebe5 100644
--- a/libc/misc/pthread/Makefile.in
+++ b/libc/misc/pthread/Makefile.in
@@ -10,7 +10,7 @@ subdirs += libc/misc/pthread
MISC_PTHREAD_DIR := $(top_srcdir)libc/misc/pthread
MISC_PTHREAD_OUT := $(top_builddir)libc/misc/pthread
-libc-shared-$(UCLIBC_HAS_THREADS) += $(MISC_PTHREAD_OUT)/tsd.os
+libc-shared-$(UCLIBC_HAS_TLS) += $(MISC_PTHREAD_OUT)/tsd.os
libc-$(UCLIBC_HAS_THREADS) += $(MISC_PTHREAD_OUT)/unlock.o
libc-$(UCLIBC_HAS_THREADS) += $(MISC_PTHREAD_OUT)/weaks.o