From 63a014a0832cc9c7b630ad105a2bad5ea2c4d660 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 26 Nov 1995 11:37:41 -0500 Subject: [PATCH] (compare*): Add "|| true" to avoid spurious failure messages from some versions of make. From-SVN: r10588 --- gcc/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 2ebdbac74e9..4026b7afb73 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2385,14 +2385,14 @@ compare: force for file in *$(objext); do \ tail +16c ./$$file > tmp-foo1; \ tail +16c stage2/$$file > tmp-foo2 2>/dev/null \ - && (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \ + && (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \ done for dir in tmp-foo $(SUBDIRS); do \ if [ "`echo $$dir/*$(objext)`" != "$$dir/*$(objext)" ] ; then \ for file in $$dir/*$(objext); do \ tail +16c ./$$file > tmp-foo1; \ tail +16c stage2/$$file > tmp-foo2 2>/dev/null \ - && (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \ + && (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \ done; \ fi; \ done @@ -2403,14 +2403,14 @@ compare3: force for file in *$(objext); do \ tail +16c ./$$file > tmp-foo1; \ tail +16c stage3/$$file > tmp-foo2 2>/dev/null \ - && (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \ + && (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \ done for dir in tmp-foo $(SUBDIRS); do \ if [ "`echo $$dir/*$(objext)`" != "$$dir/*$(objext)" ] ; then \ for file in $$dir/*$(objext); do \ tail +16c ./$$file > tmp-foo1; \ tail +16c stage3/$$file > tmp-foo2 2>/dev/null \ - && (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \ + && (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \ done; \ fi; \ done -- 2.30.2