Browse Source

Merge from branch and add removal of 'tls.h' when using NPTL threads.

"Steven J. Hill" 19 years ago
parent
commit
312faf916a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Makefile.in

+ 4 - 0
Makefile.in

@@ -182,6 +182,10 @@ ifneq ($(UCLIBC_HAS_THREADS),y)
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/*thread*.h
 	$(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; \