about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 78089e6b4a..218cde1a2f 100644
--- a/Makerules
+++ b/Makerules
@@ -427,14 +427,14 @@ ifeq (yes,$(elf))
 # not for shared objects
 define build-shlib
 $(build-shlib-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-shlib-helper) -o $@ -T $@.lds \
-	  -Wl,--whole-archive $(csu-objpfx)/abi-note.o \
+	  -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