diff options
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/SConscript b/src/SConscript index 44bcb5320..929ed8278 100644 --- a/src/SConscript +++ b/src/SConscript @@ -316,16 +316,17 @@ else: makeEnv('debug', '.do', CCFLAGS = Split('%s -O0' % debug_flag), - CPPDEFINES = 'DEBUG') + CPPDEFINES = ['DEBUG', 'TRACING_ON=1']) # Optimized binary makeEnv('opt', '.o', - CCFLAGS = Split('-g -O3')) + CCFLAGS = Split('-g -O3'), + CPPDEFINES = ['TRACING_ON=1']) # "Fast" binary makeEnv('fast', '.fo', strip = True, CCFLAGS = Split('-O3'), - CPPDEFINES = 'NDEBUG') + CPPDEFINES = ['NDEBUG', 'TRACING_ON=0']) # Profiled binary makeEnv('prof', '.po', |