summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-11-01 00:36:04 +0000
committerRoland McGrath <roland@gnu.org>2003-11-01 00:36:04 +0000
commitc1e781ae7c77a3d37d99c5bfec048a38d875ab07 (patch)
tree2ed6030f9e3389c47f418ad0c6871970a016875d /Makerules
parent158a85bff125c238ba67467f4a2416a9b3a6a824 (diff)
downloadglibc-c1e781ae7c77a3d37d99c5bfec048a38d875ab07.tar.gz
* Makerules (shlib.lds): Make sure that ld doesn't try to link
anything while generating the linker script.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 500d1af024..d1bef8c983 100644
--- a/Makerules
+++ b/Makerules
@@ -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 \