public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/google/grte/v4-2.19/master] Forestall a filesystem bug while building shlib.lds by using a temp file
@ 2019-08-14 17:23 Stan Shebs
  0 siblings, 0 replies; only message in thread
From: Stan Shebs @ 2019-08-14 17:23 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9277192e1549e6b63c199809d898c6cc12e4e8f6

commit 9277192e1549e6b63c199809d898c6cc12e4e8f6
Author: Stan Shebs <stanshebs@google.com>
Date:   Wed Aug 14 10:20:07 2019 -0700

    Forestall a filesystem bug while building shlib.lds by using a temp file

Diff:
---
 Makerules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makerules b/Makerules
index f15d51c..c77ef87 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) } &/' \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-14 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 17:23 [glibc/google/grte/v4-2.19/master] Forestall a filesystem bug while building shlib.lds by using a temp file Stan Shebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).