OSDN Git Service

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

ChangeLog
Makefile.in
Makefile.tpl

index 32dd8c4..b91cfce 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 110f7d6..aa34c89 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 bc7c415..e683ebc 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