| Message ID | 20260711192203.2343958-3-esa.jaaskela@suomi24.fi |
|---|---|
| State | New |
| Headers | show |
| Series | Fix uutils-coreutils warnings | expand |
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb index beaef37700..d864a8ee0c 100644 --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb @@ -18,6 +18,8 @@ COMPATIBLE_HOST:libc-musl = "null" SRCREV = "1d9e1626377cbaea3b21842a3525a62ba60f905f" S = "${WORKDIR}/git" +CFLAGS:append = " -fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" + require ${BPN}-crates.inc PROVIDES = "coreutils"
The onig_sys and blake3 crates build bundled C via cc crate. The build path leaks into the the -dbg binary and trips the buildpaths QA check. Add a -fdebug-prefix-map for ${CARGO_HOME} to CFLAGS to add a correct mapping. Signed-off-by: Esa Jaaskela <esa.jaaskela@suomi24.fi> --- .../recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb | 2 ++ 1 file changed, 2 insertions(+)