summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-23 10:33:30 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-23 10:33:30 +0300
commit09ebe17fb331b9159c520ac876908aaed115a814 (patch)
treeee1ad50720e1d0da202916c159dbcb7791d10f53 /Makefile.in
parent87e5542c471761179639a2c822181eb33d12842a (diff)
Don't continue making cross-build-toolset if building one module fails
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index ded85bfd1a90..a7b887bc7554 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -84,9 +84,9 @@ cross-build-toolset:
xmlhelp \
shell; do \
if grep -q gb_Module_add_targets $$D/Module_$$D.mk 2>/dev/null; then \
- (cd $$D && make -sr -j@BUILD_MAX_JOBS@) \
+ (cd $$D && make -sr -j@BUILD_MAX_JOBS@) || exit 1; \
else \
- (cd $$D && build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ -- -P@BUILD_MAX_JOBS@ && deliver.pl) \
+ (cd $$D && build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ -- -P@BUILD_MAX_JOBS@ && deliver.pl) || exit 1; \
fi; \
done
endif