Merge pull request #140 from derekstraka/fix-old-processors

rust: fix cpu selection so older processors can run executables for rust-native
This commit is contained in:
Derek Straka
2017-01-04 17:09:56 -05:00
committed by GitHub
+1 -1
View File
@@ -177,7 +177,7 @@ def arch_to_rust_target_arch(arch):
# generates our target CPU value
def llvm_cpu(d):
cpu = d.getVar('TUNE_PKGARCH', True)
cpu = d.getVar('PACKAGE_ARCH', True)
target = d.getVar('TRANSLATED_TARGET_ARCH', True)
trans = {}