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 <[email protected]>
---
 .../recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb    | 2 ++
 1 file changed, 2 insertions(+)

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"
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#128139): 
https://lists.openembedded.org/g/openembedded-devel/message/128139
Mute This Topic: https://lists.openembedded.org/mt/120225814/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to