This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b44c59be graphics/lvgl: fix build due to no-format-security
6b44c59be is described below

commit 6b44c59beeffd1a72f30f9090ac6d78e78ce4df9
Author: Karel Kočí <cyn...@email.cz>
AuthorDate: Wed Feb 22 11:57:58 2023 +0100

    graphics/lvgl: fix build due to no-format-security
    
    Without this change the build produces error:
      error: ‘-Wformat-security’ ignored without ‘-Wformat’
---
 graphics/lvgl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/lvgl/Makefile b/graphics/lvgl/Makefile
index e16bf05e3..8ae2753b7 100644
--- a/graphics/lvgl/Makefile
+++ b/graphics/lvgl/Makefile
@@ -27,7 +27,7 @@ LVGL_DIR_NAME = lvgl
 
 # Relax LVGL's format checking and unused variable checking to avoid errors
 
-CFLAGS += -Wno-format -Wno-unused-variable
+CFLAGS += -Wno-format -Wno-format-security -Wno-unused-variable
 
 -include ./lvgl/lvgl.mk
 

Reply via email to