nuttx: Enable ref types by Kconfig (#1711)

This commit is contained in:
Huang Qi 2022-11-17 11:56:59 +08:00 committed by GitHub
parent b68477267c
commit b5efadf205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,6 +293,12 @@ else
CFLAGS += -DWASM_ENABLE_SPEC_TEST=0
endif
ifeq ($(CONFIG_INTERPRETERS_WAMR_REF_TYPES),y)
CFLAGS += -DWASM_ENABLE_REF_TYPES=1
else
CFLAGS += -DWASM_ENABLE_REF_TYPES=0
endif
CFLAGS += -Wno-strict-prototypes -Wno-shadow -Wno-unused-variable
CFLAGS += -Wno-int-conversion -Wno-implicit-function-declaration