python/build/toolchain: rename arch to host_triplet

This commit is contained in:
Max Kellermann
2023-09-26 15:19:39 +02:00
parent 9a5eac4ea9
commit da7f32bddb
5 changed files with 22 additions and 24 deletions

@ -30,7 +30,7 @@ def make_cross_file(toolchain: AnyToolchain) -> str:
cpu = 'arm64-v8a'
else:
cpu_family = 'x86'
if 'x86_64' in toolchain.arch:
if 'x86_64' in toolchain.host_triplet:
cpu = 'x86_64'
else:
cpu = 'i686'