mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
nuttx: If STACK_GUARD_SIZE is not set, leave it to config.h (#2927)
cf. https://github.com/apache/nuttx-apps/pull/2241
This commit is contained in:
parent
627debcefb
commit
4bafa40052
|
@ -198,9 +198,7 @@ CSRCS += utils.c
|
|||
VPATH += $(IWASM_ROOT)/libraries/debug-engine
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE),)
|
||||
CFLAGS += -DWASM_STACK_GUARD_SIZE=0
|
||||
else
|
||||
ifneq ($(CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE),)
|
||||
CFLAGS += -DWASM_STACK_GUARD_SIZE=CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user