]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.tpl (all): Avoid harmless warning in make all when gcc-bootstrap is enabled...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 27 May 2009 07:29:30 +0000 (07:29 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 27 May 2009 07:29:30 +0000 (07:29 +0000)
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.

From-SVN: r147900

ChangeLog
Makefile.in
Makefile.tpl

index 3556f7664bb88aabc17be4de09521d3121b0be1d..0975c93a66fc9565b0df38c982f9f84adae72503 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 65835c59580c6979bf2ce366b23afea832aebe38..bac64461b33d54b0185166c85739e9477b7b4703 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 ecc903ed614b7969e06a882414e9bb1fbf7ee89a..f49f3fcb2727b147566b94a814235badd91dc1f2 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