Skip to content

Commit 179e13f

Browse files
authored
Merge pull request #3539 from jepler/lto-type-mismatch
remove warning-disable flag that seems unneeded now
2 parents bb046f9 + c139ecc commit 179e13f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

py/circuitpy_defns.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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).
6867
CFLAGS += -DMICROPY_MODULE_FROZEN_STR
69-
CFLAGS += -Wno-error=lto-type-mismatch
7068
endif
7169

7270
# To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and
@@ -76,7 +74,6 @@ endif
7674
ifneq ($(FROZEN_MPY_DIRS),)
7775
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
7876
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
79-
CFLAGS += -Wno-error=lto-type-mismatch
8077
endif
8178

8279

0 commit comments

Comments
 (0)