diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Makerules b/Makerules index c37ae5567e..77951f3640 100644 --- a/Makerules +++ b/Makerules @@ -462,17 +462,17 @@ ifeq (yes,$(elf)) # not for shared objects define build-module $(build-module-helper) \ - -o $@.new $(csu-objpfx)/abi-note.o -Wl,--verbose \ + -o $@.new $(csu-objpfx)abi-note.o -Wl,--verbose \ $(LDLIBS-$(@F:lib%.so=%).so) 2>&1 | \ sed -e '/^=========/,/^=========/!d;/^=========/d' \ -e 's/^.*\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \ - > $@.lds; \ - rm -f $@.new; \ - $(build-module-helper) -o $@ -T $@.lds \ - -Wl,--whole-archive $(csu-objpfx)/abi-note.o \ + > $@.lds +rm -f $@.new +$(build-module-helper) -o $@ -T $@.lds \ + -Wl,--whole-archive $(csu-objpfx)abi-note.o \ $(filter-out $(map-file) $(+preinit) $(+postinit),$^) \ - $(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so); \ - rm -f $@.lds + $(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so) +rm -f $@.lds endef else define build-module |