summaryrefslogtreecommitdiff
path: root/libc/misc/pthread/Makefile.in
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2010-05-07 17:19:19 +0300
committerAustin Foxley <austinf@cetoncorp.com>2010-05-07 08:27:39 -0700
commit685a6f283e98657104b71a7d694c99f19e454afa (patch)
treed6470c0a5407f5d4f5f6fc097d8521ffd7428800 /libc/misc/pthread/Makefile.in
parent0b7acfa800444525498442032b47bfd7d066c72b (diff)
static build: fix internal locking weaks to get pulled in always
Linker is smart and does not pull in weaks.os, ever. This happens because that compilation unit does not get strong references and ld eliminates dead code. We really need the weaks for static build in a compilation unit that is always there, otherwise it won't work. Signed-off-by: Timo Teras <timo.teras@iki.fi> Acked-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/misc/pthread/Makefile.in')
-rw-r--r--libc/misc/pthread/Makefile.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/misc/pthread/Makefile.in b/libc/misc/pthread/Makefile.in
index 69cdf104a..2f436ac1c 100644
--- a/libc/misc/pthread/Makefile.in
+++ b/libc/misc/pthread/Makefile.in
@@ -11,7 +11,6 @@ MISC_PTHREAD_DIR := $(top_srcdir)libc/misc/pthread
MISC_PTHREAD_OUT := $(top_builddir)libc/misc/pthread
libc-shared-$(UCLIBC_HAS_TLS) += $(MISC_PTHREAD_OUT)/tsd.os
-libc-static-$(UCLIBC_HAS_THREADS) += $(MISC_PTHREAD_OUT)/weaks.o
objclean-y += CLEAN_libc/misc/pthread