cargo: more env vars for gcc-rs

This commit is contained in:
Cody P Schafer committed 2014-12-03 18:38:12 -05:00
1 parent 7d8e6fadaf
commit e07cb2e6f2
2 files changed
+16 -11

No files matched your search

+6 -3
View File
@@ -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
}