nuttx: Enable ref types by Kconfig (#1711)
This commit is contained in:
parent
b68477267c
commit
b5efadf205
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user