summaryrefslogtreecommitdiffstats
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-08 02:32:10 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-08 02:32:10 +0000
commit9bcd20c8ba8e23517eb8ae9bac7468edc2ec744f (patch)
tree845efccfe68ca429ad503d03edc116a58385a381 /gcc/Makefile.in
parent416a170ed121a564588598466f867415dbab5ce2 (diff)
downloadppe42-gcc-9bcd20c8ba8e23517eb8ae9bac7468edc2ec744f.tar.gz
ppe42-gcc-9bcd20c8ba8e23517eb8ae9bac7468edc2ec744f.zip
* Makefile.in (compare): Combine toplevel and $(SUBDIRS) cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74405 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in20
1 files changed, 1 insertions, 19 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 00ba39cc611..6cbdb70595a 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3550,25 +3550,7 @@ fastcompare fastcompare3 fastcompare4 fastcompare-lean fastcompare3-lean fastcom
gnucompare gnucompare3 gnucompare4 gnucompare-lean gnucompare3-lean gnucompare4-lean: force
-rm -f .bad_compare
case "$@" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo $@ | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
- for file in *$(objext); do \
- case "$@" in \
- slowcompare* ) \
- tail +16c ./$$file > tmp-foo1; \
- tail +16c stage$$stage/$$file > tmp-foo2 \
- && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $$file differs >> .bad_compare) || true; \
- ;; \
- fastcompare* ) \
- cmp $$file stage$$stage/$$file 16 16 > /dev/null 2>&1; \
- test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
- ;; \
- gnucompare* ) \
- cmp --ignore-initial=16 $$file stage$$stage/$$file > /dev/null 2>&1; \
- test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
- ;; \
- esac ; \
- done
- case "$@" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo $@ | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
- for dir in tmp-foo $(SUBDIRS); do \
+ for dir in . $(SUBDIRS); do \
if [ "`echo $$dir/*$(objext)`" != "$$dir/*$(objext)" ] ; then \
for file in $$dir/*$(objext); do \
case "$@" in \
OpenPOWER on IntegriCloud