diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-05 12:03:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 15:44:20 +0100 |
commit | ae3950ec5a424fb81776a5b556a5669119f305ef (patch) | |
tree | e847f88ee5af96e9e1c2f9ae12c3619a480e51d4 | |
parent | d183c36c81e8e9a1c943b40d350c6154eeeaf416 (diff) | |
download | poky-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.bbclass | 10 |
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 | ||
156 | export WRAPPER_TARGET_CC = "${CC}" | 156 | WRAPPER_TARGET_CC = "${CC}" |
157 | export WRAPPER_TARGET_CXX = "${CXX}" | 157 | WRAPPER_TARGET_CXX = "${CXX}" |
158 | export WRAPPER_TARGET_CCLD = "${CCLD}" | 158 | WRAPPER_TARGET_CCLD = "${CCLD}" |
159 | export WRAPPER_TARGET_LDFLAGS = "${LDFLAGS}" | 159 | WRAPPER_TARGET_LDFLAGS = "${LDFLAGS}" |
160 | export WRAPPER_TARGET_AR = "${AR}" | 160 | WRAPPER_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 |