OSDN Git Service

* Makefile.tpl (all): Avoid harmless warning in make all when
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2009 07:29:30 +0000 (07:29 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2009 07:29:30 +0000 (07:29 +0000)
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147900 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
Makefile.in
Makefile.tpl

index 3556f76..0975c93 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-24  Nicolas Roche  <roche@adacore.com>
 
        * Makefile.tpl (compare-target): Skip ./ada/*tools directories.
index 65835c5..bac6446 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 ecc903e..f49f3fc 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