aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index e8cd4dccb7..afeefc6b4c 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -151,11 +151,9 @@ endif
$(link-rpcuserlibs): %-link.so: %_pic.a
# These shared objects are just for the purpose of linking libc,
# so they don't need abi-note.o linked into them.
- $(build-module-helper) \
- -o $@ -nostdlib -Wl,-soname=$(*F).so$($(*F).so-version) \
- -Wl,--whole-archive \
- $(filter-out $(map-file) $(+preinit) $(+postinit),$^) \
- $(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so)
+ $(build-shlib-helper) \
+ -nostdlib -o $@ \
+ $(build-shlib-objlist)
# And get them into the libc.so ldscript.
$(inst_libdir)/libc.so: $(rpcuserlibs)