[SCons] Keep default values of compiler flags out of cantera.conf
This commit is contained in:
parent
dcb579df98
commit
73c43a3a26
1 changed files with 5 additions and 0 deletions
|
|
@ -255,6 +255,11 @@ defaults.fsLayout = 'compact' if env['OS'] == 'Windows' else 'standard'
|
|||
defaults.env_vars = 'LD_LIBRARY_PATH' if 'LD_LIBRARY_PATH' in os.environ else ''
|
||||
defaults.python_prefix = '$prefix' if env['OS'] != 'Windows' else ''
|
||||
|
||||
# Transform lists into strings to keep cantera.conf clean
|
||||
for key,value in defaults.__dict__.items():
|
||||
if isinstance(value, (list, tuple)):
|
||||
defaults.__dict__[key] = ' '.join(value)
|
||||
|
||||
# **************************************
|
||||
# *** Read user-configurable options ***
|
||||
# **************************************
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue