summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-05 12:03:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 15:44:20 +0100
commitae3950ec5a424fb81776a5b556a5669119f305ef (patch)
treee847f88ee5af96e9e1c2f9ae12c3619a480e51d4
parentd183c36c81e8e9a1c943b40d350c6154eeeaf416 (diff)
downloadpoky-ae3950ec5a424fb81776a5b556a5669119f305ef.tar.gz
rust-common: Drop export directive from wrappers
These variables don't need to be exported into the environment, which reduces the scope of rebuilds when variable values change. (From OE-Core rev: 1a992268e556a79daa6802367f48796000a1f436) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/rust-common.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass
index 0c9363b31a..b79a829462 100644
--- a/meta/classes/rust-common.bbclass
+++ b/meta/classes/rust-common.bbclass
@@ -153,11 +153,11 @@ create_wrapper () {
153 chmod +x "${file}" 153 chmod +x "${file}"
154} 154}
155 155
156export WRAPPER_TARGET_CC = "${CC}" 156WRAPPER_TARGET_CC = "${CC}"
157export WRAPPER_TARGET_CXX = "${CXX}" 157WRAPPER_TARGET_CXX = "${CXX}"
158export WRAPPER_TARGET_CCLD = "${CCLD}" 158WRAPPER_TARGET_CCLD = "${CCLD}"
159export WRAPPER_TARGET_LDFLAGS = "${LDFLAGS}" 159WRAPPER_TARGET_LDFLAGS = "${LDFLAGS}"
160export WRAPPER_TARGET_AR = "${AR}" 160WRAPPER_TARGET_AR = "${AR}"
161 161
162# compiler is used by gcc-rs 162# compiler is used by gcc-rs
163# linker is used by rustc/cargo 163# linker is used by rustc/cargo