Remove Og from debug mode

Last time I used gdb, iterating over a directory's `Indexes`, each uint256 printed as `<optimized out>`.

Debug mode is for debugging ...
This commit is contained in:
sublimator
2014-10-05 18:52:18 +07:00
committed by Tom Ritchford
parent 00310f4f10
commit d26241de0e

View File

@@ -369,11 +369,9 @@ def config_env(toolchain, variant, env):
env.Append(CPPDEFINES={
'_FORTIFY_SOURCE': 2
})
# Build debuggable but still optimized executable
# via -Og switch introduced in GCC 4.8
env.Append(CCFLAGS=[
'-Og' # Debuggable optimizations, new in GCC 4.8
])
'-O0'
])
elif toolchain == 'msvc':
env.Append (CPPPATH=[