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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user