diff options
| -rw-r--r-- | ports/nrf/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index 3705409bc..04fb2ff98 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -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 |
