uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious...
[openwrt/svn-archive/archive.git] / toolchain / uClibc / patches-0.9.32 / 200-no_forced_unwind.patch
diff --git a/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch b/toolchain/uClibc/patches-0.9.32/200-no_forced_unwind.patch
new file mode 100644 (file)
index 0000000..134f57b
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/Rules.mak
++++ b/Rules.mak
+@@ -639,7 +639,6 @@ endif
+ ifeq ($(UCLIBC_HAS_THREADS),y)
+ ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+       PTNAME := nptl
+-      CFLAGS += -DHAVE_FORCED_UNWIND
+ else
+ ifeq ($(LINUXTHREADS_OLD),y)
+       PTNAME := linuxthreads.old