mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
committed by
Tom Ritchford
parent
00310f4f10
commit
d26241de0e
@@ -369,11 +369,9 @@ def config_env(toolchain, variant, env):
|
|||||||
env.Append(CPPDEFINES={
|
env.Append(CPPDEFINES={
|
||||||
'_FORTIFY_SOURCE': 2
|
'_FORTIFY_SOURCE': 2
|
||||||
})
|
})
|
||||||
# Build debuggable but still optimized executable
|
|
||||||
# via -Og switch introduced in GCC 4.8
|
|
||||||
env.Append(CCFLAGS=[
|
env.Append(CCFLAGS=[
|
||||||
'-Og' # Debuggable optimizations, new in GCC 4.8
|
'-O0'
|
||||||
])
|
])
|
||||||
|
|
||||||
elif toolchain == 'msvc':
|
elif toolchain == 'msvc':
|
||||||
env.Append (CPPPATH=[
|
env.Append (CPPPATH=[
|
||||||
|
|||||||
Reference in New Issue
Block a user