From 7ebb23fad9aee512b53d2e7ec18d6e99fc47c01c Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Thu, 7 Apr 2016 08:46:45 -0500 Subject: [PATCH] rust: fix target generation add 'env' This field defaults to the empty string but for all of our targets it should be set to GNU. Signed-off-by: Doug Goldstein --- recipes-devtools/rust/rust.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/rust/rust.inc b/recipes-devtools/rust/rust.inc index 8159b81..f2ab319 100644 --- a/recipes-devtools/rust/rust.inc +++ b/recipes-devtools/rust/rust.inc @@ -208,6 +208,7 @@ def rust_gen_target(d, thing, wd): tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch, True) tspec['arch'] = arch_to_rust_target_arch(arch) tspec['os'] = "linux" + tspec['env'] = "gnu" tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE', True), prefix) tspec['objcopy'] = "{}objcopy".format(prefix) if features is not "":