summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-05 01:39:16 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-05 01:39:16 +0000
commit312faf916ad2de25acfbd58eb0f8f80967b8a29c (patch)
tree5bc5ba890d7c42ffca90a21940d134ab891624dc
parentbff4d626e89488f9acb3f2f2a36db1b23ba1db78 (diff)
Merge from branch and add removal of 'tls.h' when using NPTL threads.
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 40a0c4d03..eb2033cba 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -183,6 +183,10 @@ ifneq ($(UCLIBC_HAS_THREADS),y)
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/semaphore.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/*thread*.h
endif
+ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+ # Remove this as it is only used internally.
+ $(RM) $(PREFIX)$(DEVEL_PREFIX)include/tls.h
+endif
-@for i in `find $(PREFIX)$(DEVEL_PREFIX) -type d` ; do \
chmod 755 $$i; chmod 644 $$i/*.h > /dev/null 2>&1; \
done