aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
-rw-r--r--elf/dl-load.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 70b0c6a3e2..8ad8d98f10 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -155,7 +155,7 @@ CFLAGS-dl-load.c += -Wno-uninitialized
# rule to build a shared library.
$(objpfx)libdl.so: $(objpfx)libdl_pic.a $(common-objpfx)libc.so $(objpfx)ld.so
-$(inst_slibdir)/$(rtld-version-installed-name): $(objpfx)ld.so
+$(inst_slibdir)/$(rtld-version-installed-name): $(objpfx)ld.so $(+force)
$(do-install-program)
$(inst_slibdir)/$(rtld-installed-name): \
diff --git a/elf/dl-load.c b/elf/dl-load.c
index edaa2cc8c5..c3337e4386 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -830,7 +830,6 @@ print_search_path (struct r_search_path_elem **list,
const char *what, const char *name)
{
char buf[max_dirnamelen + max_capstrlen];
- char *endp;
int first = 1;
_dl_debug_message (1, " search path=", NULL);