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 <cardoe@cardoe.com>
This commit is contained in:
@@ -207,6 +207,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 "":
|
||||
|
||||
Reference in New Issue
Block a user