diff options
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile index cd0f390d6f..4f532d3fb5 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -116,8 +116,7 @@ $(rtld-ldscript): $(rtld-ldscript-in) $(rtld-parms) -e 's#@@rtld-base@@#$(rtld-base)#' $< >$@ endif -$(objpfx)ld.so: $(objpfx)librtld.os $(addprefix $(objpfx),$(rtld-ldscript)) \ - $(ld-map) +$(objpfx)ld.so: $(objpfx)librtld.os $(rtld-ldscript) $(ld-map) $(LINK.o) -nostdlib -nostartfiles -shared -o $@ $(LDFLAGS-rtld) \ $(filter-out $(rtld-ldscript) $(map-file),$^) \ $(load-map-file) -Wl,-soname=$(rtld-installed-name) |