scons: remove the '_CPPDEFFLAGS' variable, which otherwise would place -DNone in the compiler arguments when no other configure arguments are sent to scons

This commit is contained in:
Dane Springmeyer 2010-07-15 16:29:39 +00:00
parent 3d888515b3
commit 7d8b6bd126

View file

@ -1158,6 +1158,11 @@ if not HELP_REQUESTED:
# export env so it is available in Sconscript files # export env so it is available in Sconscript files
Export('env') Export('env')
# clear the '_CPPDEFFLAGS' variable
# for unknown reasons this variable puts -DNone
# in the g++ args prompting unnecessary recompiles
env['_CPPDEFFLAGS'] = None
if env['FAST']: if env['FAST']:
# caching is 'auto' by default in SCons # caching is 'auto' by default in SCons