mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-23 02:16:01 +01:00
Fix Configure.autoconfig='clobber' when no previous configuration is present
This commit is contained in:
parent
b722f1dda0
commit
7f7f336e9f
@ -626,7 +626,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