summaryrefslogtreecommitdiffstats
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-05-27 07:30:42 +0000
committerAlexandre Oliva <aoliva@redhat.com>2009-05-27 07:30:42 +0000
commit5cf384df95b6097afea2a9b1865d977a37a665ff (patch)
treee6c7f2d04baecbdcdfca542b5c8eee757c24b55c /Makefile.tpl
parent1ccd407d79af9752464339db329bbe2370551e6a (diff)
downloadcygnal-5cf384df95b6097afea2a9b1865d977a37a665ff.tar.gz
cygnal-5cf384df95b6097afea2a9b1865d977a37a665ff.tar.bz2
cygnal-5cf384df95b6097afea2a9b1865d977a37a665ff.zip
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index bc7c415f0..e683ebcfb 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