summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/boost.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/boost.make b/rules/boost.make
index 7e97d5ce8..a0e52c4df 100644
--- a/rules/boost.make
+++ b/rules/boost.make
@@ -61,7 +61,8 @@ BOOST_JAM := \
target-os=linux
JAM_MAKE_OPT := \
- $(PARALLELMFLAGS) \
+ $(if $(shell test $(subst -j,,$(PARALLELMFLAGS)) -le 64 && echo 1),$(PARALLELMFLAGS),-j64) \
+ $(PTXDIST_LOADMFLAGS_INTERN) \
stage
JAM_INSTALL_OPT := \