It seems right now cpu_family() behaves more consistently than cpu()
This commit is contained in:
parent
b5adc8156f
commit
0d0ea0a0cc
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ elif os == 'linux'
|
|||
os = 'gnu'
|
||||
endif
|
||||
|
||||
arch = host_machine.cpu()
|
||||
arch = host_machine.cpu_family()
|
||||
if arch == 'x86_64'
|
||||
arch = 'amd64'
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue