浏览代码

fix compilation; proposed patch, may be totally wrong

Thorsten Glaser 10 年之前
父节点
当前提交
9927e8dd46
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      toolchain/uclibc/patches/0.9.34-git/0007-enable-cancellation-stuff-for-libc_a.patch

+ 11 - 0
toolchain/uclibc/patches/0.9.34-git/0007-enable-cancellation-stuff-for-libc_a.patch

@@ -0,0 +1,11 @@
+--- a/libpthread/linuxthreads/Makefile.in.orig	2014-09-27 23:26:40.000000000 +0200
++++ b/libpthread/linuxthreads/Makefile.in	2014-09-27 23:27:12.000000000 +0200
+@@ -65,7 +65,7 @@ CFLAGS-OMIT-libc_pthread_init.c := $(CFL
+ libpthread_libc_CSRC := \
+ 	forward.c libc-cancellation.c libc_pthread_init.c # alloca_cutoff.c
+ libpthread_libc_OBJ  := $(patsubst %.c, $(libpthread_OUT)/%.o,$(libpthread_libc_CSRC))
+-libc-static-y += $(libpthread_OUT)/libc_pthread_init.o
++libc-static-y += $(libpthread_OUT)/libc_pthread_init.o $(libpthread_OUT)/libc-cancellation.o
+ libc-shared-y += $(libpthread_libc_OBJ:.o=.oS)
+ 
+ libpthread-static-y += $(patsubst %,$(libpthread_OUT)/%.o,$(libpthread_static_SRC))