Skip to content

Commit

Permalink
nuttx: Enable ref types by Kconfig (bytecodealliance#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
no1wudi authored Nov 17, 2022
1 parent b684772 commit b5efadf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions product-mini/platforms/nuttx/wamr.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b5efadf

Please sign in to comment.