From 8a6193807d07edc30fd06e19f475dc7a7c1689b2 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 2 Oct 2020 10:15:10 -0300 Subject: imx-test: Disable stringformat security flags This fixes following build error: ,---- | pxp_lib_test/pxp_test.c: In function 'main': | pxp_lib_test/pxp_test.c:541:2: error: format not a string literal and no format arguments [-Werror=format-security] | 541 | printf(usage); | | ^~~~~~ `---- Fixes: #506. Signed-off-by: Otavio Salvador Change-Id: Ie6df1a64ba7126967861cb8fc889d4ca6f22b67a --- recipes-bsp/imx-test/imx-test_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 81bbd3a3..61f5e9d4 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb @@ -49,6 +49,9 @@ PACKAGECONFIG_append_imxvpu = " vpu" PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu" +# FIXME: Fail to build due to misuse of printf +SECURITY_STRINGFORMAT = "" + do_compile() { CFLAGS="${TOOLCHAIN_OPTIONS}" oe_runmake V=1 VERBOSE='' \ -- cgit v1.2.3-54-g00ecf