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:
parent
3d888515b3
commit
7d8b6bd126
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue