interpreters/duktape: Add -Wno-unused-but-set-variable to CLAGS
To fix error: variable 'num_stmts' set but not used [-Werror,-Wunused-but-set-variable] duk_int_t num_stmts; Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
17692ffc5f
commit
dbdba4c254
@ -47,6 +47,7 @@ CFLAGS += -I$(DUKTAPE_UNPACK)/extras/console
|
|||||||
CFLAGS += -I$(DUKTAPE_UNPACK)/extras/print-alert
|
CFLAGS += -I$(DUKTAPE_UNPACK)/extras/print-alert
|
||||||
CFLAGS += -DDUK_CMDLINE_CONSOLE_SUPPORT
|
CFLAGS += -DDUK_CMDLINE_CONSOLE_SUPPORT
|
||||||
CFLAGS += -DDUK_CMDLINE_PRINTALERT_SUPPORT
|
CFLAGS += -DDUK_CMDLINE_PRINTALERT_SUPPORT
|
||||||
|
CFLAGS += -Wno-unused-but-set-variable
|
||||||
|
|
||||||
$(DUKTAPE_TARBALL):
|
$(DUKTAPE_TARBALL):
|
||||||
$(Q) echo "Downloading $(DUKTAPE_TARBALL)"
|
$(Q) echo "Downloading $(DUKTAPE_TARBALL)"
|
||||||
|
Loading…
Reference in New Issue
Block a user