diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-22 13:17:36 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-22 13:20:40 +0200 |
commit | c817612b8734df995b6a797c618d28d1a51870b5 (patch) | |
tree | af9d81cac0e3b6ea457dd0f1e84adf244422d92f /rules/boost.make | |
parent | 1c3ae4eb93d27aab274a78f6980da7f12c845639 (diff) | |
download | ptxdist-c817612b8734df995b6a797c618d28d1a51870b5.tar.gz ptxdist-c817612b8734df995b6a797c618d28d1a51870b5.tar.xz |
boost: fix building with -ji > 64
Jam does not support 1 through 64 as values for '-j' so use 64 if a larger
value is specified in PARALLELMFLAGS.
Add PTXDIST_LOADMFLAGS_INTERN while at it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/boost.make')
-rw-r--r-- | rules/boost.make | 3 |
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 := \ |