summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-10-11 16:23:02 -0500
committerJeff Epler <jepler@gmail.com>2020-10-11 16:23:02 -0500
commitc139eccc9271b8b81eb8ad3eb2dc09a68199a12c (patch)
tree3f09689f1323bf471178f0ee05f8fa7bc8621ac2 /py
parent40a3d11d643c2a0da9d401a0c2853065ad64142c (diff)
remove warning that seems unneeded now
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_defns.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/circuitpy_defns.mk b/py/circuitpy_defns.mk
index 76c0a4db6..e5debc8ea 100644
--- a/py/circuitpy_defns.mk
+++ b/py/circuitpy_defns.mk
@@ -45,7 +45,6 @@ BASE_CFLAGS = \
-Wnested-externs \
-Wunreachable-code \
-Wcast-align \
- -Wno-error=lto-type-mismatch \
-D__$(CHIP_VARIANT)__ \
-ffunction-sections \
-fdata-sections \
@@ -66,7 +65,6 @@ ifneq ($(FROZEN_DIR),)
# To use frozen source modules, put your .py files in a subdirectory (eg scripts/)
# and then invoke make with FROZEN_DIR=scripts (be sure to build from scratch).
CFLAGS += -DMICROPY_MODULE_FROZEN_STR
-CFLAGS += -Wno-error=lto-type-mismatch
endif
# To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and
@@ -76,7 +74,6 @@ endif
ifneq ($(FROZEN_MPY_DIRS),)
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
-CFLAGS += -Wno-error=lto-type-mismatch
endif