* Makefile.tpl (all): Avoid harmless warning in make all when
[deliverable/binutils-gdb.git] / Makefile.tpl
index bc7c415f090d796cf7f5531d033b5db913893443..e683ebcfb66bb7f2347b21a53ac2809424ed3611 100644 (file)
@@ -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
This page took 0.023934 seconds and 4 git commands to generate.