make sure to read from config.py if switching from FAST=True to FAST=False during configure stage
This commit is contained in:
parent
c22ab63dc9
commit
d669706f68
1 changed files with 4 additions and 1 deletions
|
@ -524,6 +524,9 @@ if not preconfigured:
|
||||||
|
|
||||||
color_print(4,'Configuring build environment...')
|
color_print(4,'Configuring build environment...')
|
||||||
|
|
||||||
|
if not env['FAST']:
|
||||||
|
SetCacheMode('force')
|
||||||
|
|
||||||
if env['USE_CONFIG']:
|
if env['USE_CONFIG']:
|
||||||
if not env['CONFIG'].endswith('.py'):
|
if not env['CONFIG'].endswith('.py'):
|
||||||
color_print(1,'SCons CONFIG file specified is not a python file, will not be read...')
|
color_print(1,'SCons CONFIG file specified is not a python file, will not be read...')
|
||||||
|
@ -567,7 +570,7 @@ if not preconfigured:
|
||||||
|
|
||||||
env['LIBDIR_SCHEMA'] = LIBDIR_SCHEMA
|
env['LIBDIR_SCHEMA'] = LIBDIR_SCHEMA
|
||||||
env['PLUGINS'] = PLUGINS
|
env['PLUGINS'] = PLUGINS
|
||||||
|
|
||||||
if env['PKG_CONFIG_PATH']:
|
if env['PKG_CONFIG_PATH']:
|
||||||
env['ENV']['PKG_CONFIG_PATH'] = env['PKG_CONFIG_PATH']
|
env['ENV']['PKG_CONFIG_PATH'] = env['PKG_CONFIG_PATH']
|
||||||
# otherwise this variable == os.environ["PKG_CONFIG_PATH"]
|
# otherwise this variable == os.environ["PKG_CONFIG_PATH"]
|
||||||
|
|
Loading…
Reference in a new issue