diff --git a/meson.build b/meson.build index 83657303f3..fc75071102 100644 --- a/meson.build +++ b/meson.build @@ -172,7 +172,7 @@ host_defines = [ [ 's390', 'HAVE_CPU_S390' ], ] foreach h : host_defines - if h.get(0) == host_machine.cpu() + if h.get(0) == host_machine.cpu_family() cdata.set(h.get(1), 1) endif endforeach