summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-05-27 07:30:41 +0000
committerAlexandre Oliva <aoliva@redhat.com>2009-05-27 07:30:41 +0000
commitc912928872cf4014fb5a223607144bbd5b57db79 (patch)
treee108107381b3cda1371592b592034bd2925da9a8
parent6386feea553f2ddbc0db53a16ea0a1fe854ec84b (diff)
downloadgdb-c912928872cf4014fb5a223607144bbd5b57db79.tar.gz
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt.
-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 32dd8c4583f..b91cfce0431 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-25 Tristan Gingold <gingold@adacore.com>
* setup.com: Complete the file with configuration and build.
diff --git a/Makefile.in b/Makefile.in
index 110f7d69659..aa34c89a040 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 bc7c415f090..e683ebcfb66 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