diff options
| -rw-r--r-- | meta/recipes-support/boost/boost.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 87bac23340..5d20b11e11 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
| @@ -115,6 +115,8 @@ def get_boost_parallel_make(bb, d): | |||
| 115 | bb.error("Unable to analyse format of PARALLEL_MAKE variable: %s" % pm) | 115 | bb.error("Unable to analyse format of PARALLEL_MAKE variable: %s" % pm) |
| 116 | pm_nval = min(64, int(pm_val.group(0))) | 116 | pm_nval = min(64, int(pm_val.group(0))) |
| 117 | return pm_prefix.group(0) + str(pm_nval) + pm[pm_val.end():] | 117 | return pm_prefix.group(0) + str(pm_nval) + pm[pm_val.end():] |
| 118 | else: | ||
| 119 | return "" | ||
| 118 | 120 | ||
| 119 | BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(bb, d)}" | 121 | BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(bb, d)}" |
| 120 | BJAM_OPTS = '${BOOST_PARALLEL_MAKE} \ | 122 | BJAM_OPTS = '${BOOST_PARALLEL_MAKE} \ |
