Skip to content

Commit 814a76e

Browse files
authored
product-mini/platforms/nuttx/wamr.mk: Provide BH_MALLOC/BH_FREE (bytecodealliance#1135)
1 parent 9843122 commit 814a76e

File tree

1 file changed

+3
-0
lines changed
  • product-mini/platforms/nuttx

1 file changed

+3
-0
lines changed

product-mini/platforms/nuttx/wamr.mk

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ endif
4141

4242
WAMR_BUILD_PLATFORM := nuttx
4343

44+
CFLAGS += -DBH_MALLOC=wasm_runtime_malloc
45+
CFLAGS += -DBH_FREE=wasm_runtime_free
46+
4447
ifeq ($(WAMR_BUILD_TARGET), X86_32)
4548
CFLAGS += -DBUILD_TARGET_X86_32
4649
INVOKE_NATIVE := invokeNative_ia32.s

0 commit comments

Comments
 (0)