diff options
author | Alan Modra <amodra@gmail.com> | 2020-07-29 16:28:57 +0930 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2020-08-04 19:52:56 -0400 |
commit | bd7a8e038ac01fc61f0fe58b57ae52ccb85a562f (patch) | |
tree | 8f19bec94fb408b81e03a104efe8f6120eb052f1 /Makerules | |
parent | 50a8dd367e305bb6c6146c564fd48c193cc94069 (diff) | |
download | glibc-bd7a8e038ac01fc61f0fe58b57ae52ccb85a562f.zip glibc-bd7a8e038ac01fc61f0fe58b57ae52ccb85a562f.tar.gz glibc-bd7a8e038ac01fc61f0fe58b57ae52ccb85a562f.tar.bz2 |
Don't mix linker error messages into edited scripts
* Makerules (shlib.lds): Discard linker warning output.
(format.lds): Likewise.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -557,7 +557,7 @@ $(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 | \ + -Wl,--verbose 2>/dev/null | \ sed > $@T \ -e '/^=========/,/^=========/!d;/^=========/d' \ $(if $(filter yes,$(have-hash-style)), \ @@ -1073,7 +1073,7 @@ ifneq (unknown,$(output-format)) else $(LINK.o) -shared $(sysdep-LDFLAGS) $(rtld-LDFLAGS) \ $(LDFLAGS.so) $(LDFLAGS-lib.so) \ - -x c /dev/null -o $@.so -Wl,--verbose -v 2>&1 \ + -x c /dev/null -o $@.so -Wl,--verbose -v 2>/dev/null \ | sed -n -f $< > $@.new test -s $@.new rm -f $@.so |