From 7d8b6bd1265aa4de40bf490c21ce6ef1922489d7 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 15 Jul 2010 16:29:39 +0000 Subject: [PATCH] scons: remove the '_CPPDEFFLAGS' variable, which otherwise would place -DNone in the compiler arguments when no other configure arguments are sent to scons --- SConstruct | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SConstruct b/SConstruct index 053dd2a93..add1131ad 100644 --- a/SConstruct +++ b/SConstruct @@ -1158,6 +1158,11 @@ if not HELP_REQUESTED: # export env so it is available in Sconscript files 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']: # caching is 'auto' by default in SCons