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
@ -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…
Reference in New Issue
Block a user