From d26241de0edd6d1ce9b2b54ad7e70ce66fc8317c Mon Sep 17 00:00:00 2001 From: sublimator Date: Sun, 5 Oct 2014 18:52:18 +0700 Subject: [PATCH] Remove Og from debug mode Last time I used gdb, iterating over a directory's `Indexes`, each uint256 printed as ``. Debug mode is for debugging ... --- SConstruct | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SConstruct b/SConstruct index f3bbb3453..a5fc99841 100644 --- a/SConstruct +++ b/SConstruct @@ -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=[