mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
rust: Ensure buildpaths are handled in debug symbols correctly
To ensure buildpaths aren't encoded in the debug symbol output, ensure we pass our prefix remapping compiler options in. (From OE-Core rev: c7a529743560c37973787e4ab2433cb7485afb86) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -177,6 +177,8 @@ rust_runx () {
|
||||
unset CXXFLAGS
|
||||
unset CPPFLAGS
|
||||
|
||||
export RUSTFLAGS="${RUST_DEBUG_REMAP}"
|
||||
|
||||
# Copy the natively built llvm-config into the target so we can run it. Horrible,
|
||||
# but works!
|
||||
if [ ${RUST_ALTERNATE_EXE_PATH_NATIVE} != ${RUST_ALTERNATE_EXE_PATH} ]; then
|
||||
|
||||
Reference in New Issue
Block a user