mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 13:17:31 +00:00 
			
		
		
		
	nuttx: Provide a default WASM_STACK_GUARD_SIZE (#1386)
Unbreak builds with a bit older nuttx/apps for now. Note: The default value here (0) was chosen to match the new default in nuttx/apps, which is different from the old value used before the introduction of WASM_STACK_GUARD_SIZE. (1024)
This commit is contained in:
		
							parent
							
								
									071b8c2510
								
							
						
					
					
						commit
						e0a943ee9c
					
				|  | @ -147,7 +147,11 @@ CSRCS += wasm_loader.c | |||
| endif | ||||
| endif | ||||
| 
 | ||||
| ifeq ($(CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE),) | ||||
| CFLAGS += -DWASM_STACK_GUARD_SIZE=0 | ||||
| else | ||||
| CFLAGS += -DWASM_STACK_GUARD_SIZE=CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE | ||||
| endif | ||||
| 
 | ||||
| ifeq ($(CONFIG_INTERPRETERS_WAMR_SHARED_MEMORY),y) | ||||
| CFLAGS += -DWASM_ENABLE_SHARED_MEMORY=1 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 YAMAMOTO Takashi
						YAMAMOTO Takashi