mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 11:19:52 +01:00
Silently ignore negative values for -j
This commit is contained in:
parent
f7cfcce157
commit
2758fb3f7c
@ -282,6 +282,8 @@ class OptionsContext(Context.Context):
|
||||
elif arg != 'options':
|
||||
commands.append(arg)
|
||||
|
||||
if options.jobs < 1:
|
||||
options.jobs = 1
|
||||
for name in 'top out destdir prefix bindir libdir'.split():
|
||||
# those paths are usually expanded from Context.launch_dir
|
||||
if getattr(options, name, None):
|
||||
|
Loading…
Reference in New Issue
Block a user