aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches/190-install_tls.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-13 02:15:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-13 02:15:14 +0000
commit087a2bc16c82ab6559cb4000d05eb796c3649006 (patch)
treed4de9a32a5ea21da1c86f11223e1848817af3775 /toolchain/uClibc/patches/190-install_tls.patch
parent6fb293c05be0f09e99381904b4e4d3995ff8a0c6 (diff)
downloadupstream-087a2bc16c82ab6559cb4000d05eb796c3649006.tar.gz
upstream-087a2bc16c82ab6559cb4000d05eb796c3649006.tar.bz2
upstream-087a2bc16c82ab6559cb4000d05eb796c3649006.zip
uclibc: add some libpthread fixes
SVN-Revision: 14013
Diffstat (limited to 'toolchain/uClibc/patches/190-install_tls.patch')
-rw-r--r--toolchain/uClibc/patches/190-install_tls.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/190-install_tls.patch b/toolchain/uClibc/patches/190-install_tls.patch
new file mode 100644
index 0000000000..74d403265c
--- /dev/null
+++ b/toolchain/uClibc/patches/190-install_tls.patch
@@ -0,0 +1,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 \