diff --git a/core/SConscript.unix b/core/SConscript.unix index 5d5e91d6ad..fa2446fec4 100644 --- a/core/SConscript.unix +++ b/core/SConscript.unix @@ -367,7 +367,7 @@ if ARGUMENTS.get('TREZOR_EMULATOR_ASAN', 0): if ARGUMENTS.get('TREZOR_EMULATOR_DEBUGGABLE', 0): env.Replace( - COPT=' -O0 -ggdb', + COPT=' -Og -ggdb', STRIP='true', ) if ARGUMENTS.get('TREZOR_MEMPERF', '0') == '1':