From 1a992268e556a79daa6802367f48796000a1f436 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 5 Aug 2022 12:03:18 +0100 Subject: 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 --- meta/classes/rust-common.bbclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'meta/classes') 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 -- cgit 1.2.3-korg