mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
Add semaphore support for NuttX (#1367)
This commit is contained in:
parent
f3f8d684b3
commit
2ee01657a6
|
@ -222,6 +222,12 @@ else
|
|||
CFLAGS += -DWASM_ENABLE_LIB_PTHREAD=0
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_INTERPRETERS_WAMR_LIB_PTHREAD_SEMAPHORE),y)
|
||||
CFLAGS += -DWASM_ENABLE_LIB_PTHREAD_SEMAPHORE=1
|
||||
else
|
||||
CFLAGS += -DWASM_ENABLE_LIB_PTHREAD_SEMAPHORE=0
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK),y)
|
||||
CFLAGS += -DWASM_DISABLE_HW_BOUND_CHECK=1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user