summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-05 12:28:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 15:44:20 +0100
commit5c45b73c8fa445b5192bb9fac1bc80b038b44c0d (patch)
tree70558676b6ea7eed370b09e81ed0be5d62371e0f /meta/recipes-gnome
parent411304c3e99f6d3320cb307a61b5d03eda9f7b4d (diff)
downloadpoky-5c45b73c8fa445b5192bb9fac1bc80b038b44c0d.tar.gz
rust: Switch to use RUST_XXX_SYS consistently
The code was using a mixture of XXX_SYS and RUST_XXX_SYS. Use RUST_XXX_SYS consistently and add the variables to the global exclsion on signatures as they're reflected in the directory triplets and trying to filter them out the hashes separately is too painful. (From OE-Core rev: ee0c0fdf9c1eba9eece6ed1293fda25bf18964b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.54.4.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.4.bb b/meta/recipes-gnome/librsvg/librsvg_2.54.4.bb
index cc7fb9bbdf..f3bbeb74eb 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.54.4.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.54.4.bb
@@ -31,7 +31,7 @@ export RUST_BACKTRACE = "full"
31export RUSTFLAGS 31export RUSTFLAGS
32export RUST_TARGET_PATH 32export RUST_TARGET_PATH
33 33
34export RUST_TARGET = "${HOST_SYS}" 34export RUST_TARGET = "${RUST_HOST_SYS}"
35 35
36RUSTFLAGS:append:mips = " --cfg crossbeam_no_atomic_64" 36RUSTFLAGS:append:mips = " --cfg crossbeam_no_atomic_64"
37RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64" 37RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64"
@@ -45,7 +45,7 @@ RUSTFLAGS:append:riscv32 = " --cfg crossbeam_no_atomic_64"
45do_compile:prepend() { 45do_compile:prepend() {
46 cp ${STAGING_LIBDIR_NATIVE}/rustlib/${HOST_SYS}.json ${WORKDIR} 46 cp ${STAGING_LIBDIR_NATIVE}/rustlib/${HOST_SYS}.json ${WORKDIR}
47 cp ${STAGING_LIBDIR_NATIVE}/rustlib/${BUILD_SYS}.json ${WORKDIR} 47 cp ${STAGING_LIBDIR_NATIVE}/rustlib/${BUILD_SYS}.json ${WORKDIR}
48 sed -ie 's,"linker": ".*","linker": "${RUST_TARGET_CC}",g' ${WORKDIR}/${HOST_SYS}.json 48 sed -ie 's,"linker": ".*","linker": "${RUST_TARGET_CC}",g' ${WORKDIR}/${RUST_HOST_SYS}.json
49 RUST_TARGET_PATH="${WORKDIR}" 49 RUST_TARGET_PATH="${WORKDIR}"
50 export RUST_TARGET_PATH 50 export RUST_TARGET_PATH
51} 51}