summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 6a8bb6d91..96631bfd0 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -61,6 +61,10 @@ headers_clean:
$(TOPDIR)include/thread_db.h \
$(TOPDIR)include/bits/pthreadtypes.h $(TOPDIR)include/bits/semaphore.h \
$(TOPDIR)include/bits/libc-lock.h $(TOPDIR)include/bits/stdio-lock
+ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y)
+ $(RM) $(PTNAME)/version.h $(PTDIR)/banner.h \
+ $(PTDIR)/sysdeps/unix/sysv/linux/rtld-libc-lowlevellock.c
+endif
clean: subdirs_clean headers_clean