diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-10-27 21:08:24 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-11-18 09:38:18 +1000 |
commit | bb5b0a6d8a9f6a8a18d5e96b28ba7250a8153309 (patch) | |
tree | 455a6c917426e5e1076e36247eff124b3376ca4e /wscript | |
parent | cf8b9464c59caddc831c58af08b99442f824b694 (diff) |
Remove -O0 optimize flag from debuggable flags to enable debuggable optimized builds
This allows debug symbol information to be included for optimized builds. This
may not always be useful for debugging but it is necessary to use profiling
tools like perf.
The default optimize level is -O0 if no other optimize flag is specified so the
optimization level will be the same unless overridden.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ Context.Context.is_tracks_build = is_tracks_build compiler_flags_dictionaries= { 'gcc' : { # Flags required when building a debug build - 'debuggable' : [ '-O0', '-g' ], + 'debuggable' : [ '-g' ], # Flags required for the linker (if any) when building a debug build 'linker-debuggable' : '', # Flags required when building a non-debug optimized build |