javascript/Makefile: Suppress compiler errors from array bounds.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-07-02 23:10:22 +10:00
parent 0b3332c8e1
commit 076caf317e
1 changed files with 3 additions and 0 deletions

View File

@ -59,4 +59,7 @@ test: $(BUILD)/micropython.js $(TOP)/tests/run-tests.py
$(eval DIRNAME=ports/$(notdir $(CURDIR)))
cd $(TOP)/tests && MICROPY_MICROPYTHON=../ports/javascript/node_run.sh ./run-tests.py -j1
# Disable errors for array-bounds warnings on "sp[-MP_OBJ_ITER_BUF_NSLOTS + 2]" access.
$(BUILD)/py/vm.o: CFLAGS += -Wno-error=array-bounds
include $(TOP)/py/mkrules.mk