rust: add missing 'ar' to target spec
We need to make sure we're using the cross compiling ar instead of the system one. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
@@ -263,6 +263,7 @@ def rust_gen_target(d, thing, wd):
|
||||
tspec['env'] = "gnu"
|
||||
tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE', True), prefix)
|
||||
tspec['objcopy'] = "{}objcopy".format(prefix)
|
||||
tspec['ar'] = "{}ar".format(prefix)
|
||||
tspec['cpu'] = d.getVar('TARGET_LLVM_CPU', True)
|
||||
if features is not "":
|
||||
tspec['features'] = features
|
||||
|
||||
Reference in New Issue
Block a user