diff options
author | Stan Shebs <stanshebs@google.com> | 2019-08-14 10:20:07 -0700 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2019-08-14 10:20:07 -0700 |
commit | 9277192e1549e6b63c199809d898c6cc12e4e8f6 (patch) | |
tree | 5b50dcdb99602604527b6209539f1e9fb04db5bb | |
parent | 353f79819c75c698a29536a743c511252d2bc19b (diff) | |
download | glibc-google/grte/v4-2.19/master.tar.gz glibc-google/grte/v4-2.19/master.tar.xz glibc-google/grte/v4-2.19/master.zip |
Forestall a filesystem bug while building shlib.lds by using a temp file google/grte/v4-2.19/master
-rw-r--r-- | Makerules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules index f15d51c152..c77ef87651 100644 --- a/Makerules +++ b/Makerules @@ -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) } &/' \ |