aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-05-27 07:29:30 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-05-27 07:29:30 +0000
commita1fc946a9faaf54fb1a7cbacde595af38687c016 (patch)
treeb53ca16c766b4102d05bb2e22fc536e3ba5b1e42
parentd000f0d9253425e43228238cebfe3ad57c2c1c10 (diff)
downloadgcc-a1fc946a9faaf54fb1a7cbacde595af38687c016.zip
gcc-a1fc946a9faaf54fb1a7cbacde595af38687c016.tar.gz
gcc-a1fc946a9faaf54fb1a7cbacde595af38687c016.tar.bz2
Makefile.tpl (all): Avoid harmless warning in make all when gcc-bootstrap is enabled but stage_last...
* 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
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in2
-rw-r--r--Makefile.tpl2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3556f76..0975c93 100644
--- 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.
diff --git a/Makefile.in b/Makefile.in
index 65835c5..bac6446 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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
diff --git a/Makefile.tpl b/Makefile.tpl
index ecc903e..f49f3fc 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -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