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
@ -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/libwasi
|
||||||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/libdyld
|
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_VERSION = 76b9d7088ab321e329b6f958360fb05cebd3df9f
|
||||||
TOYWASM_UNPACK = toywasm
|
TOYWASM_UNPACK = toywasm
|
||||||
TOYWASM_TARBALL = $(TOYWASM_VERSION).zip
|
TOYWASM_TARBALL = $(TOYWASM_VERSION).zip
|
||||||
|
Loading…
Reference in New Issue
Block a user