From d7429f75a17a375d4e0df6f9c32d81f71e838634 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 1 Apr 2009 15:08:56 +0000 Subject: [PATCH] scons: allow a user to switch back from FAST=True to FAST=False --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 97dbc1d29..f95cbe7d2 100644 --- a/SConstruct +++ b/SConstruct @@ -233,10 +233,11 @@ if opts.args: # now since we've got custom arguments we'll disregard any # pickled environment and force another configuration preconfigured = False - if env['FAST']: + if opts.args.get('FAST'): # because we are clearing the 'sconf_temp' files each configure when FAST=False # we now need to flush the dblite otherwise SCons will skip checks - # during the first 'FAST' configure + # of fail because .sconsign.dblite could be out of sync with cacheing from using + # or moving to using FAST=True try: os.unlink('.sconsign.dblite') except: pass