RUSTC_ARCHFLAGS: build for the proper system triple

Change to build for the machine we are building for when compiling rust
code and not the compiler itself. See #109.
This commit is contained in:
Doug Goldstein
2016-11-21 14:55:54 -06:00
parent 0c266200ad
commit 7645b9b331

View File

@@ -2,7 +2,7 @@ inherit rust-vars
RUSTC = "rustc"
RUSTC_ARCHFLAGS += "--target=${TARGET_SYS} ${RUSTFLAGS}"
RUSTC_ARCHFLAGS += "--target=${HOST_SYS} ${RUSTFLAGS}"
def rust_base_dep(d):
# Taken from meta/classes/base.bbclass `base_dep_prepend` and modified to