meson: fix non-x86 builds.

The Aarch64 build failed with the following error because of a recent
change:

> ../meson.build:617:24: ERROR: Unknown variable "have_x86".
This commit is contained in:
Jehan 2024-09-19 15:04:20 +02:00
parent 998c65f4e2
commit 1e866c433a
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ host_cpu_family = host_machine.cpu_family()
message('Host machine cpu family: ' + host_cpu_family)
host_cpu_family = host_machine.cpu_family()
have_x86 = false
have_ppc = false
if host_cpu_family == 'x86'
have_x86 = true
conf.set10('ARCH_X86', true)