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
This commit is contained in:
Alexandre Oliva 2009-05-19 01:30:35 +00:00 committed by Alexandre Oliva
parent d99e5e9584
commit 31c98f4921
3 changed files with 16 additions and 9 deletions

View File

@ -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> 2009-05-18 Alexandre Oliva <aoliva@redhat.com>
PR other/40159 PR other/40159

View File

@ -854,16 +854,16 @@ all:
@r=`${PWD_COMMAND}`; export r; \ @r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
@if gcc-bootstrap @if gcc-bootstrap
if [ -f stage_last ]; then : ; \ if [ -f stage_last ]; then \
TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \ TFLAGS="$(STAGE$(shell sed s,^stage,, stage_last)_TFLAGS)"; \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
else \ else \
@endif gcc-bootstrap @endif gcc-bootstrap
@if gcc-no-bootstrap $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
if :; then :; \ @if gcc-bootstrap
@endif gcc-no-bootstrap ; \
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
fi fi
@endif gcc-bootstrap
.PHONY: all-build .PHONY: all-build

View File

@ -625,11 +625,11 @@ all:
$(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
else \ else \
@endif gcc-bootstrap @endif gcc-bootstrap
@if gcc-no-bootstrap $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
if :; then :; \ @if gcc-bootstrap
@endif gcc-no-bootstrap ; \
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
fi fi
@endif gcc-bootstrap
.PHONY: all-build .PHONY: all-build
[+ FOR build_modules +] [+ FOR build_modules +]