aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-05-19 01:30:35 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-05-19 01:30:35 +0000
commit31c98f4921f15851eadd64a024d9da6743772c73 (patch)
tree54685a286073a1a0a2ac8507fd7dbbc688204bd1
parentd99e5e958469c974d983f543d8fae7c81ce78c3f (diff)
downloadgcc-31c98f4921f15851eadd64a024d9da6743772c73.zip
gcc-31c98f4921f15851eadd64a024d9da6743772c73.tar.gz
gcc-31c98f4921f15851eadd64a024d9da6743772c73.tar.bz2
re PR other/40159 ("make all" ignores build failures)
PR other/40159 * Makefile.tpl (all): Don't assume gcc-bootstrap and gcc-no-bootstrap are mutually exclusive. * Makefile.in: Rebuilt. From-SVN: r147695
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.in10
-rw-r--r--Makefile.tpl8
3 files changed, 16 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index f445669..d8ef95d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
2009-05-18 Alexandre Oliva <aoliva@redhat.com>
PR other/40159
+ * Makefile.tpl (all): Don't assume gcc-bootstrap and
+ gcc-no-bootstrap are mutually exclusive.
+ * Makefile.in: Rebuilt.
+
+2009-05-18 Alexandre Oliva <aoliva@redhat.com>
+
+ PR other/40159
* Makefile.tpl (all): Don't end with unconditional success.
* Makefile.in: Rebuilt.
diff --git a/Makefile.in b/Makefile.in
index 116de9d..23b3688 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -854,16 +854,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; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
+@if gcc-bootstrap
+ ; \
fi
+@endif gcc-bootstrap
.PHONY: all-build
diff --git a/Makefile.tpl b/Makefile.tpl
index faa9f3c..ff058d6 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -625,11 +625,11 @@ all:
$(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; \
+ $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
+@if gcc-bootstrap
+ ; \
fi
+@endif gcc-bootstrap
.PHONY: all-build
[+ FOR build_modules +]