mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-07 22:25:12 +00:00
toywasm: ignore compile warnings
Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
2ce6be617b
commit
13cc85c055
1 changed files with 5 additions and 0 deletions
|
|
@ -131,6 +131,11 @@ CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/lib
|
|||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/libwasi
|
||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/libdyld
|
||||
|
||||
# Keep the compilation parameters consistent with toywasm mainline
|
||||
# https://github.com/yamt/toywasm/blob/master/cmake/ToywasmConfig.cmake#L298-L302
|
||||
|
||||
CFLAGS += -Wno-unknown-warning-option -Wno-unused-but-set-variable -Wno-unused-variable -Wno-return-type
|
||||
|
||||
TOYWASM_VERSION = 76b9d7088ab321e329b6f958360fb05cebd3df9f
|
||||
TOYWASM_UNPACK = toywasm
|
||||
TOYWASM_TARBALL = $(TOYWASM_VERSION).zip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue