From ab40337e2c045a6a51071400fd9782173c41bd04 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Thu, 11 Feb 2010 12:04:05 -0800 Subject: libc: build tsd only when tls is enabled Signed-off-by: Austin Foxley --- libc/misc/pthread/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc') 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 -- cgit v1.2.3