Skip to content

Commit abad747

Browse files
committed
codal_port/Makefile: Suppress warnings from SAM library.
Signed-off-by: Damien George <damien@micropython.org>
1 parent 318595a commit abad747

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/codal_port/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ $(MBIT_VER_FILE): FORCE
129129
$(PYTHON) $(TOP)/py/makeversionhdr.py $(MBIT_VER_FILE).pre
130130
$(CAT) $(MBIT_VER_FILE).pre | $(SED) s/MICROPY_/MICROBIT_/ > $(MBIT_VER_FILE)
131131

132+
# Suppress warnings from SAM library.
133+
$(BUILD)/$(abspath $(LOCAL_LIB_DIR))/sam/sam.o: CWARN += -Wno-array-bounds
134+
132135
include $(TOP)/py/mkrules.mk
133136

134137
CLEAN_EXTRA += $(LIBMICROPYTHON)

0 commit comments

Comments
 (0)