From 11e16ee62ff649628ecd5a6722fb5e51db02b7ce Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 9 Oct 2020 12:13:15 +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 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