summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-20 11:41:52 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-20 11:41:52 -0700
commit3551a67ded401356262a118770bc103fbc70efc7 (patch)
treeabf42cab19e767824e4c8b9f6c51b9ed6449d369
parentcb4ce3c61dd5ec002ecaca836a3753cd0fb0e990 (diff)
downloaduClibc-alpine-3551a67ded401356262a118770bc103fbc70efc7.tar.bz2
uClibc-alpine-3551a67ded401356262a118770bc103fbc70efc7.tar.xz
only try to build nptl libpthread if UCLIBC_HAS_THREADS
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--libpthread/nptl/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
index e5ddab317..3c0505781 100644
--- a/libpthread/nptl/Makefile.in
+++ b/libpthread/nptl/Makefile.in
@@ -253,8 +253,8 @@ headers_clean-y += nptl_headers_clean
-include $(PTHREAD_DIR)/sysdeps/unix/sysv/linux/Makefile.in
-include $(PTHREAD_DIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH)/Makefile.arch
-lib-a-y += $(top_builddir)lib/libpthread.a
-lib-so-y += $(top_builddir)lib/libpthread.so
+lib-a-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.a
+lib-so-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.so
$(top_builddir)lib/libpthread.so: $(PTHREAD_OUT)/libpthread_so.a $(libc) $(top_builddir)lib/libpthread_nonshared.a
$(call link.so,$(libpthread_FULL_NAME),$(MAJOR_VERSION))