2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

@R use the numThreads variable with make

This commit is contained in:
bebbo
2017-02-17 19:04:08 +01:00
parent 518e986306
commit 3df75f10a2

View File

@ -454,11 +454,11 @@ def configure(name, *confopts, **kwargs):
@recipe('make', 2)
def make(name, target=None, makefile=None, threads='-j1', **makevars):
def make(name, target=None, makefile=None, **makevars):
info('running make "%s"', target)
with cwd(path.join('{build}', name)):
args = ['%s=%s' % item for item in makevars.items()] + [threads]
args = ['%s=%s' % item for item in makevars.items()] + ['-j{numThreads}']
if target is not None:
args = [target] + args
if makefile is not None: