summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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