mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Forestall a filesystem bug while building shlib.lds by using a temp file
This commit is contained in:
parent
353f79819c
commit
9277192e15
@ -458,8 +458,8 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
|
||||
$(LINK.o) -shared -Wl,-O1 \
|
||||
-nostdlib -nostartfiles \
|
||||
$(sysdep-LDFLAGS) $(rtld-LDFLAGS) $(LDFLAGS.so) \
|
||||
-Wl,--verbose 2>&1 | \
|
||||
sed > $@T \
|
||||
-Wl,--verbose 2>&1 >$@-tmp
|
||||
sed $@-tmp > $@T \
|
||||
-e '/^=========/,/^=========/!d;/^=========/d' \
|
||||
$(if $(filter yes,$(have-hash-style)), \
|
||||
-e 's/^.*\.gnu\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \
|
||||
|
Loading…
Reference in New Issue
Block a user