| Message ID | 20260515090645.1053312-1-peter.tatrai.ext@siemens.com |
|---|---|
| State | New |
| Headers | show |
| Series | ninja: enable large file support for nativesdk builds | expand |
diff --git a/meta/recipes-devtools/ninja/ninja_1.13.2.bb b/meta/recipes-devtools/ninja/ninja_1.13.2.bb index e750c78c46..4fd048efa6 100644 --- a/meta/recipes-devtools/ninja/ninja_1.13.2.bb +++ b/meta/recipes-devtools/ninja/ninja_1.13.2.bb @@ -30,6 +30,11 @@ do_install() { install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja } +# Enable large file support to avoid EOVERFLOW when stat() is called on files +# with large inode numbers (e.g. on overlay filesystems). This is critical when +# building nativesdk for a 32-bit SDKMACHINE (e.g. i686). +CXXFLAGS:append:class-nativesdk = " -D_FILE_OFFSET_BITS=64" + BBCLASSEXTEND = "native nativesdk" CVE_STATUS[CVE-2021-4336] = "cpe-incorrect: This is a different Ninja"