aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-05-19 00:01:17 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-05-19 00:01:17 +0000
commit0f50183740222ddfe33ddbbe875117a49252606a (patch)
tree6bdc93b9e11137dbcac9347c43b7cedb51e3ad64 /Makefile.tpl
parent848bc769a503ac02da2df5b31af544a304ccca5b (diff)
downloadgcc-0f50183740222ddfe33ddbbe875117a49252606a.zip
gcc-0f50183740222ddfe33ddbbe875117a49252606a.tar.gz
gcc-0f50183740222ddfe33ddbbe875117a49252606a.tar.bz2
re PR other/40159 ("make all" ignores build failures)
PR other/40159 * Makefile.tpl (all): Don't end with unconditional success. * Makefile.in: Rebuilt. From-SVN: r147683
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 056296a..faa9f3c 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -620,16 +620,16 @@ all:
@r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
@if gcc-bootstrap
- if [ -f stage_last ]; then : ; \
+ if [ -f stage_last ]; then \
TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
else \
@endif gcc-bootstrap
+@if gcc-no-bootstrap
+ if :; then :; \
+@endif gcc-no-bootstrap
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
-@if gcc-bootstrap
- fi; \
-@endif gcc-bootstrap
- :
+ fi
.PHONY: all-build
[+ FOR build_modules +]