diff options
author | Roland McGrath <roland@gnu.org> | 2001-05-11 08:09:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-05-11 08:09:48 +0000 |
commit | ba2c68f187f0106058a850cb6d726deee621ba52 (patch) | |
tree | a5375c430d8ab69b52805a0f659a62148156e1c7 | |
parent | 7d2e3d55f2141e9ab0cd103c903adfb368da2239 (diff) | |
download | glibc-ba2c68f187f0106058a850cb6d726deee621ba52.tar.gz glibc-ba2c68f187f0106058a850cb6d726deee621ba52.tar.xz glibc-ba2c68f187f0106058a850cb6d726deee621ba52.zip |
2001-05-11 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use $(build-module) here, since we don't need the full magilla. Just use $(build-module-helper) and append our special options.
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 007016dabc..e8cd4dccb7 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -149,12 +149,13 @@ lib-noranlib: $(common-objpfx)hurd/libhurduser-link.so endif $(link-rpcuserlibs): %-link.so: %_pic.a -# The $(build-module) variable now contains a sequence of several commands, -# so we can't tweak the ld command just by adding text to this command line. - $(build-module) -LDFLAGS-link-rpcuserlibs = -nostdlib -Wl,-soname=$(*F).so$($(*F).so-version) -LDFLAGS-libmachuser-link.so = $(LDFLAGS-link-rpcuserlibs) -LDFLAGS-libhurduser-link.so = $(LDFLAGS-link-rpcuserlibs) +# 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) # And get them into the libc.so ldscript. $(inst_libdir)/libc.so: $(rpcuserlibs) |