[toolchain] fix uClibc v0.9.30 build on x86_64
[openwrt-10.03/.git] / toolchain / uClibc / patches / 190-install_tls.patch
1 --- a/libpthread/linuxthreads/Makefile.in
2 +++ b/libpthread/linuxthreads/Makefile.in
3 @@ -128,7 +128,9 @@ linuxthreads_headers:
4         $(Q)$(LN) -sf ../$(PTDIR)/sysdeps/pthread/pthread.h $(top_builddir)include/
5         $(Q)$(LN) -sf ../$(PTDIR)/semaphore.h $(top_builddir)include/
6         $(Q)$(INSTALL) -d $(top_builddir)include/bits
7 +       $(Q)$(INSTALL) -d $(top_builddir)include/sys
8         $(Q)$(LN) -sf ../../$(PTDIR)/sysdeps/pthread/bits/pthreadtypes.h $(top_builddir)include/bits/
9 +       $(Q)$(LN) -sf ../../$(PTDIR)/sysdeps/$(TARGET_ARCH)/tls.h $(top_builddir)include/sys/
10  
11  linuxthreads_headers_clean:
12         $(RM) $(top_builddir)include/pthread.h $(top_builddir)include/semaphore.h \