From ed8f90c9300905b6156407aac63b182271482dfc Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 9 Oct 2020 12:25:21 +1100 Subject: [PATCH] build: use cpu_family for arch checks e.g. on 32-bit arm, we may have armv6, armv7l, armv7hf, etc which all generally have the same layouts. cpu_family() groups all of these into just 'arm' that the ABI check table is expecting. Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5d1d329611..897d9ac234 100644 --- a/meson.build +++ b/meson.build @@ -130,7 +130,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() core_conf.set(h.get(1), 1) endif endforeach