summaryrefslogtreecommitdiff
path: root/librt/Makefile.in
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-23 16:51:52 -0700
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-22 14:49:27 +0100
commit534f44d53146457b3ca686c47efb9207543b88e1 (patch)
tree611583ea4b77862b4c2d7310d253e5decfd87ba6 /librt/Makefile.in
parentbf6f1313132a3d99d645ea8b6661c23d68235278 (diff)
librt: Use -nodefaultlibs instead of -nostdlib
nostdlib disables linking in startup files too which is not what we want here since it needs to resolve __dso_handle which comes from crtbeginS.o, otherwise librt has this undefined reference to a weak undefined __dso_handle that shows up as error (with gold linker) when shared libraries are being built which are linking in librt Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'librt/Makefile.in')
-rw-r--r--librt/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in
index 8555e94db..fbbf5b447 100644
--- a/librt/Makefile.in
+++ b/librt/Makefile.in
@@ -15,6 +15,9 @@ LIBS-librt.so := $(LIBS)
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
LIBS-librt.so += $(top_builddir)lib/libdl.so $(top_builddir)lib/libpthread.so
endif
+START_FILE-librt.so := $(SHARED_START_FILES)
+END_FILE-librt.so := $(SHARED_END_FILES)
+
librt_FULL_NAME := librt-$(VERSION).so