mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ CFLAGS += -I$(DUKTAPE_UNPACK)/extras/console
|
|||
CFLAGS += -I$(DUKTAPE_UNPACK)/extras/print-alert
|
||||
CFLAGS += -DDUK_CMDLINE_CONSOLE_SUPPORT
|
||||
CFLAGS += -DDUK_CMDLINE_PRINTALERT_SUPPORT
|
||||
CFLAGS += -Wno-unused-but-set-variable
|
||||
|
||||
$(DUKTAPE_TARBALL):
|
||||
$(Q) echo "Downloading $(DUKTAPE_TARBALL)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue