summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches-0.9.29/190-install_tls.patch
blob: 74d403265c0d97e33e525d63051a7bcdf545bfb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/libpthread/linuxthreads/Makefile.in
+++ b/libpthread/linuxthreads/Makefile.in
@@ -128,7 +128,9 @@ linuxthreads_headers:
 	$(Q)$(LN) -sf ../$(PTDIR)/sysdeps/pthread/pthread.h $(top_builddir)include/
 	$(Q)$(LN) -sf ../$(PTDIR)/semaphore.h $(top_builddir)include/
 	$(Q)$(INSTALL) -d $(top_builddir)include/bits
+	$(Q)$(INSTALL) -d $(top_builddir)include/sys
 	$(Q)$(LN) -sf ../../$(PTDIR)/sysdeps/pthread/bits/pthreadtypes.h $(top_builddir)include/bits/
+	$(Q)$(LN) -sf ../../$(PTDIR)/sysdeps/$(TARGET_ARCH)/tls.h $(top_builddir)include/sys/
 
 linuxthreads_headers_clean:
 	$(RM) $(top_builddir)include/pthread.h $(top_builddir)include/semaphore.h \