From 2ee0ed706c54d8eebfe47173c6c27ae7741a9a19 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 27 May 2009 07:30:42 +0000 Subject: * Makefile.tpl (all): Avoid harmless warning in make all when gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt. --- Makefile.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.tpl') diff --git a/Makefile.tpl b/Makefile.tpl index bc7c415f09..e683ebcfb6 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -621,7 +621,7 @@ all: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @if gcc-bootstrap if [ -f stage_last ]; then \ - TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \ + TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ else \ @endif gcc-bootstrap -- cgit v1.2.1