summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-26 11:46:42 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-26 11:46:42 +0000
commit7bcc3b4a0615624d61c3a54c77e4ec21cba79d55 (patch)
treea79ba615cea18ead926b64a359c911e21b8433e2 /Makefile.tpl
parent96d8242d667249bcc3ebce3ce20bb31e56354dc5 (diff)
downloadgcc-7bcc3b4a0615624d61c3a54c77e4ec21cba79d55.tar.gz
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index d3806161688..2d767a71c38 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1539,8 +1539,8 @@ compare: all-stage3-gcc
files=`find . -name "*$(objext)" -print` ; \
cd .. ; \
for file in $${files} ; do \
- cmp --ignore-initial=16 $$r/stage2-gcc/$$file $$r/stage3-gcc/$$file \
- > /dev/null 2>&1; \
+ f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
+ @do_compare@ > /dev/null 2>&1; \
test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
done ; \
if [ -f .bad_compare ]; then \