From 312faf916ad2de25acfbd58eb0f8f80967b8a29c Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Thu, 5 Jan 2006 01:39:16 +0000 Subject: Merge from branch and add removal of 'tls.h' when using NPTL threads. --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 40a0c4d03..eb2033cba 100644 --- a/Makefile.in +++ b/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; \ -- cgit v1.2.3