cargo: more env vars for gcc-rs
This commit is contained in:
1 parent
7d8e6fadaf
commit
e07cb2e6f2
2 files changed
+16
-11
No files matched your search
@@ -74,9 +74,12 @@ cargo_do_compile () {
|
||||
export CC="${RUST_CC}"
|
||||
export CFLAGS="${RUST_CFLAGS}"
|
||||
export AR="${AR}"
|
||||
#export HOST_CC="${RUST_BUILD_CC}"
|
||||
#export HOST_CFLAGS="${RUST_BUILD_CFLAGS}"
|
||||
#export HOST_AR="${BUILD_AR}"
|
||||
export TARGET_CC="${RUST_CC}"
|
||||
export TARGET_CFLAGS="${RUST_CFLAGS}"
|
||||
export TARGET_AR="${AR}"
|
||||
export HOST_CC="${RUST_BUILD_CC}"
|
||||
export HOST_CFLAGS="${RUST_BUILD_CFLAGS}"
|
||||
export HOST_AR="${BUILD_AR}"
|
||||
oe_cargo_build
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user