arm/gn: disable uninitialized variable warning
PATCH 1/2 arm/gn: disable uninitialized variable warning
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(+)
meta-arm/recipes-devtools/gn/gn_git.bb +1 -0
@@ -43,3 +43,4 @@ do_install() { BBCLASSEXTEND = "native" COMPATIBLE_HOST = "^(?!riscv32).*" +CFLAGS += "-Wno-error=maybe-uninitialized"
Signature · 1 line
2.39.5 (Apple Git-154)
PATCH 2/2 arm/gn: update to the latest SHA
Update gn to the latest SHA (commit from 08 Aug 2025). There are 66 commits between the previous SHA and the new one.
Signed-off-by Jon Mason <[email protected]>
--- meta-arm/recipes-devtools/gn/gn_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-devtools/gn/gn_git.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" UPSTREAM_CHECK_COMMITS = "1" SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main" -SRCREV = "ab638bd7cbb9ac8468bf2fbe60c74ed4706a14a7" +SRCREV = "4ce861fc06ec87ff74eb6a17ebbd55e4755ebdeb" PV = "0+git" B = "${WORKDIR}/build"
Signature · 1 line
2.39.5 (Apple Git-154)
Jon Mason
AppliedQuoted 5 lines · Jon Mason
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.
Applied, thanks!
[1/2] arm/gn: disable uninitialized variable warning
commit: d8f0ab517b8bfe47a9e6d011711013877413cc4e
[2/2] arm/gn: update to the latest SHA
commit: 6ec4a039a35c9f0947b82873b577b8a148473242Best regards,
Signature · 1 line
Jon Mason <[email protected]>