[PATCH 1/2] arm/gn: disable uninitialized variable warning
Jon Mason <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
An uninitialized variable warning is occurring when compiling gn. However, since Wall is being used in gn, this is being logged as an error. Pass the no-error flag for this case to workaround this issue. Signed-off-by: Jon Mason <[email protected]> --- meta-arm/recipes-devtools/gn/gn_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arm/recipes-devtools/gn/gn_git.bb b/meta-arm/recipes-devtools/gn/gn_git.bb index d4294bd36aa1..8573cd2ffbd9 100644 --- a/meta-arm/recipes-devtools/gn/gn_git.bb +++ b/meta-arm/recipes-devtools/gn/gn_git.bb @@ -43,3 +43,4 @@ do_install() { BBCLASSEXTEND = "native" COMPATIBLE_HOST = "^(?!riscv32).*" +CFLAGS += "-Wno-error=maybe-uninitialized" -- 2.39.5 (Apple Git-154)