ctng: use CT_JOBS instead of wrong -j

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-28 00:00:00 +00:00
parent ca55bc2d61
commit d024dae98e
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ def main(args, extra_args=None):
assert common.run_cmd(
[
'make',
'-j', str(nproc)
'-j', str(nproc),
],
) == 0
@@ -66,7 +66,7 @@ def main(args, extra_args=None):
[
common.crosstool_ng_executable,
'build',
'-j', str(nproc)
'CT_JOBS={}'.format(str(nproc)),
],
out_file=os.path.join(common.crosstool_ng_build_dir, 'lkmc.log'),
delete_env=['LD_LIBRARY_PATH'],