mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-30 05:52:24 +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'
|
cmd = env.config_cmd or 'configure'
|
||||||
if Configure.autoconfig == 'clobber':
|
if Configure.autoconfig == 'clobber':
|
||||||
tmp = Options.options.__dict__
|
tmp = Options.options.__dict__
|
||||||
Options.options.__dict__ = env.options
|
if env.options:
|
||||||
|
Options.options.__dict__ = env.options
|
||||||
try:
|
try:
|
||||||
run_command(cmd)
|
run_command(cmd)
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user