Skip to content
Snippets Groups Projects
Commit ea00717a authored by Glenn Ruben Bakke's avatar Glenn Ruben Bakke Committed by Damien George
Browse files

nrf: Compile nlr objects with -fno-lto flag

To prevent over-optimizations of nlr and nlrthumb when -flto is used
the flag -fno-lto is set on these modules during compilation.
parent 14d257c6
No related branches found
No related tags found
No related merge requests found
......@@ -348,5 +348,7 @@ CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
endif
$(PY_BUILD)/nlr%.o: CFLAGS += -Os -fno-lto
include ../../py/mkrules.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment