File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ BASE_CFLAGS = \
4545 -Wnested-externs \
4646 -Wunreachable-code \
4747 -Wcast-align \
48- -Wno-error=lto-type-mismatch \
4948 -D__$(CHIP_VARIANT ) __ \
5049 -ffunction-sections \
5150 -fdata-sections \
@@ -66,7 +65,6 @@ ifneq ($(FROZEN_DIR),)
6665# To use frozen source modules, put your .py files in a subdirectory (eg scripts/)
6766# and then invoke make with FROZEN_DIR=scripts (be sure to build from scratch).
6867CFLAGS += -DMICROPY_MODULE_FROZEN_STR
69- CFLAGS += -Wno-error=lto-type-mismatch
7068endif
7169
7270# To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and
7674ifneq ($(FROZEN_MPY_DIRS ) ,)
7775CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
7876CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
79- CFLAGS += -Wno-error=lto-type-mismatch
8077endif
8178
8279
You can’t perform that action at this time.
0 commit comments