It seems right now cpu_family() behaves more consistently than cpu()

This commit is contained in:
King_DuckZ 2020-04-27 12:05:03 +02:00
parent b5adc8156f
commit 0d0ea0a0cc

View file

@ -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