summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-05 11:52:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 15:44:20 +0100
commitd183c36c81e8e9a1c943b40d350c6154eeeaf416 (patch)
treeca3787fd0e9043198308d87e0ac9164e01b57d11 /meta/classes
parent52ef977c958db97986bffbae57145edbca8a04b3 (diff)
downloadpoky-d183c36c81e8e9a1c943b40d350c6154eeeaf416.tar.gz
rust-common: Add CXXFLAGS
Similarly to CC and CCLD, handle CXX flags too. (From OE-Core rev: e2fc083529d526cb565a2de1917022d10c7d08b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rust-common.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass
index cb811ac5da..0c9363b31a 100644
--- a/meta/classes/rust-common.bbclass
+++ b/meta/classes/rust-common.bbclass
@@ -177,7 +177,7 @@ do_rust_create_wrappers () {
177 # Yocto Target / Rust Target C compiler 177 # Yocto Target / Rust Target C compiler
178 create_wrapper "${RUST_TARGET_CC}" "${WRAPPER_TARGET_CC}" "${WRAPPER_TARGET_LDFLAGS}" 178 create_wrapper "${RUST_TARGET_CC}" "${WRAPPER_TARGET_CC}" "${WRAPPER_TARGET_LDFLAGS}"
179 # Yocto Target / Rust Target C++ compiler 179 # Yocto Target / Rust Target C++ compiler
180 create_wrapper "${RUST_TARGET_CXX}" "${WRAPPER_TARGET_CXX}" 180 create_wrapper "${RUST_TARGET_CXX}" "${WRAPPER_TARGET_CXX}" "${CXXFLAGS}"
181 # Yocto Target / Rust Target linker 181 # Yocto Target / Rust Target linker
182 create_wrapper "${RUST_TARGET_CCLD}" "${WRAPPER_TARGET_CCLD}" "${WRAPPER_TARGET_LDFLAGS}" 182 create_wrapper "${RUST_TARGET_CCLD}" "${WRAPPER_TARGET_CCLD}" "${WRAPPER_TARGET_LDFLAGS}"
183 # Yocto Target / Rust Target archiver 183 # Yocto Target / Rust Target archiver