1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-31 07:25:42 +00:00

fix(core/emulator): Use -Og instead of -O0 in debug emulator builds to avoid segfault

[no changelog]
This commit is contained in:
Ondrej Mikle 2021-10-05 13:16:31 +02:00
parent 5deee2ed00
commit b905ac04ef

View File

@ -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':