mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
lvgl/makefile: workaround for lvgl.v8
Since this change is only merged into the lvgl.v9, let us workaround for v8:
37835260ca
./lvgl/src/core/lv_obj.c:363:25: warning: variable 'x' set but not used [-Wunused-but-set-variable]
363 | static uint32_t x = 0;
| ^
1 warning generated.
CFLAGS += -Wno-unused-but-set-variable
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
af6e4d2cb9
commit
f289cdb2ec
1 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,14 @@ LVGL_DIR_NAME = lvgl
|
|||
|
||||
CFLAGS += -Wno-format -Wno-format-security -Wno-unused-variable
|
||||
|
||||
# Since this change is only merged into the lvgl.v9, let us workaround for v8
|
||||
# ./lvgl/src/core/lv_obj.c:363:25: warning: variable 'x' set but not used [-Wunused-but-set-variable]
|
||||
# 363 | static uint32_t x = 0;
|
||||
# | ^
|
||||
# 1 warning generated.
|
||||
|
||||
CFLAGS += -Wno-unused-but-set-variable
|
||||
|
||||
-include ./lvgl/lvgl.mk
|
||||
|
||||
CSRCS += port/lv_port.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue