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:41:36 +0100 |
commit | 1a992268e556a79daa6802367f48796000a1f436 (patch) | |
tree | 8cf60071d48681a285dcd358ebe759db6fce3f24 /meta/classes | |
parent | e2fc083529d526cb565a2de1917022d10c7d08b8 (diff) | |
download | openembedded-core-contrib-1a992268e556a79daa6802367f48796000a1f436.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 () { chmod +x "${file}" } -export WRAPPER_TARGET_CC = "${CC}" -export WRAPPER_TARGET_CXX = "${CXX}" -export WRAPPER_TARGET_CCLD = "${CCLD}" -export WRAPPER_TARGET_LDFLAGS = "${LDFLAGS}" -export WRAPPER_TARGET_AR = "${AR}" +WRAPPER_TARGET_CC = "${CC}" +WRAPPER_TARGET_CXX = "${CXX}" +WRAPPER_TARGET_CCLD = "${CCLD}" +WRAPPER_TARGET_LDFLAGS = "${LDFLAGS}" +WRAPPER_TARGET_AR = "${AR}" # compiler is used by gcc-rs # linker is used by rustc/cargo |