summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-04-23 23:17:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 10:17:53 -0500
commit3328a7c918aaf460ae0e20d0b6545b721f77efb1 (patch)
tree85ccbddf8877d24a225f8364da3dbb5f80102e0c
parent26446139e4b065452740cf73c7643f94cece6fa5 (diff)
buildsys: LT{,.old} CRT prereq
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Makerules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index dd19cea79..3ef756ecb 100644
--- a/Makerules
+++ b/Makerules
@@ -430,6 +430,9 @@ CTOR_TARGETS=$(top_builddir)lib/crti.o $(top_builddir)lib/crtn.o
else
CTOR_TARGETS:=
endif
+ifeq ($(HAS_NO_THREADS)$(UCLIBC_HAS_THREADS_NATIVE),)
+$(lib-so-y): $(CTOR_TARGETS)
+endif
ifeq ($(UCLIBC_FORMAT_FDPIC_ELF),y)
CRTRELOC=$(top_builddir)lib/crtreloc.o