* Makefile.tpl (all): Avoid harmless warning in make all when
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 27 May 2009 07:30:42 +0000 (07:30 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 27 May 2009 07:30:42 +0000 (07:30 +0000)
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.

ChangeLog
Makefile.in
Makefile.tpl

index 32dd8c4583ff54400baf4e0c1242192232c804f7..b91cfce04319ddded7fc482d980d420b16d991ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.tpl (all): Avoid harmless warning in make all when
+       gcc-bootstrap is enabled but stage_last does not exist.
+       * Makefile.in: Rebuilt.
+
 2009-05-25  Tristan Gingold  <gingold@adacore.com>
 
        * setup.com: Complete the file with configuration and build.
index 110f7d6965927fc85d3c0a6442a1096396ea007f..aa34c89a04068c96ef03467aa39c16d3f37688d4 100644 (file)
@@ -855,7 +855,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
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