uutils-coreutils: fix buildpaths QA warning

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>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
Esa Jaaskela
2026-07-11 22:22:03 +03:00
committed by Anuj Mittal
parent f7fbf8f078
commit 1f99172329
@@ -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"