diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-03 08:15:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-03 08:15:19 +0200 |
commit | 40678af7b459876ac1113f42fd647f110c8c7bd7 (patch) | |
tree | 4b3f740975792522cba2ffe83954baf16f78d53f | |
parent | edda0488a6879c1598bee908418cba14d66f9712 (diff) |
linuxthreads: fix compile error for non-MMU
Otherwise you get following linking error, because
of missing functions in libc.a:
undefined reference to `__libc_enable_asynccancel'
Fix by Thorsten Glaser while hacking session.
-rw-r--r-- | libpthread/linuxthreads/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in index 4a499f78e..c1ec1c9c7 100644 --- a/libpthread/linuxthreads/Makefile.in +++ b/libpthread/linuxthreads/Makefile.in @@ -65,7 +65,7 @@ CFLAGS-OMIT-libc_pthread_init.c := $(CFLAGS-dir_linuxthreads) 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)) |