]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/40159 ("make all" ignores build failures)
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 19 May 2009 01:30:35 +0000 (01:30 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 19 May 2009 01:30:35 +0000 (01:30 +0000)
PR other/40159
* Makefile.tpl (all): Don't assume gcc-bootstrap and
gcc-no-bootstrap are mutually exclusive.
* Makefile.in: Rebuilt.

From-SVN: r147695

ChangeLog
Makefile.in
Makefile.tpl

index f44566944af37da9477f16809a6102f91010cb39..d8ef95d55ab24efc9e660dac6eedf30fe218bf68 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
index 116de9de4e8e9025fda9fe884ac5a613759f1a0b..23b3688283bc8a6822126db593cebad310898e94 100644 (file)
@@ -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
 
index faa9f3c9204bebbc7a04e68b3643aac19a979d12..ff058d660c52d5c4220f804e8bf539099e35efcf 100644 (file)
@@ -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 +]