mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-26 11:51:20 +01:00
Fix Configure.autoconfig='clobber' when no previous configuration is present
This commit is contained in:
parent
5aafea1bd3
commit
8c3a281746
@ -625,7 +625,8 @@ def autoconfigure(execute_method):
|
||||
cmd = env.config_cmd or 'configure'
|
||||
if Configure.autoconfig == 'clobber':
|
||||
tmp = Options.options.__dict__
|
||||
Options.options.__dict__ = env.options
|
||||
if env.options:
|
||||
Options.options.__dict__ = env.options
|
||||
try:
|
||||
run_command(cmd)
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user