* Makerules (shlib.lds): Make sure that ld doesn't try to link

anything while generating the linker script.
This commit is contained in:
Roland McGrath 2003-11-01 00:36:04 +00:00
parent 158a85bff1
commit c1e781ae7c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-09-26 Daniel Jacobowitz <drow@mvista.com>
* Makerules (shlib.lds): Make sure that ld doesn't try to link
anything while generating the linker script.
2003-10-31 Roland McGrath <roland@redhat.com>
* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's

View File

@ -479,6 +479,7 @@ ifeq (yes,$(elf))
# not for shared objects
$(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
$(LINK.o) -shared -Wl,-O1 \
-nostdlib -nostartfiles \
$(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \
-Wl,--verbose 2>&1 | \
sed > $@T \