mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
waf: ensure that MAKEFLAGS is set before parsing it
This commit is contained in:
parent
500c854f79
commit
1404a9fe72
@ -473,6 +473,8 @@ def CHECK_MAKEFLAGS(bld):
|
||||
if not 'WAF_MAKE' in os.environ:
|
||||
return
|
||||
makeflags = os.environ.get('MAKEFLAGS')
|
||||
if makeflags is None:
|
||||
return
|
||||
jobs_set = False
|
||||
# we need to use shlex.split to cope with the escaping of spaces
|
||||
# in makeflags
|
||||
|
Loading…
x
Reference in New Issue
Block a user