From cb3d12377cb1131fb3627ece66b0b70c2c5e0479 Mon Sep 17 00:00:00 2001 From: "Igor V. Kovalenko" Date: Mon, 30 Nov 2020 13:31:19 +0300 Subject: build-sys: meson: use target_machine.cpu_family() for CANONICAL_HOST target_machine provides information about the machine on which the compiled binary's output will run. cpu_family() returns CPU family name (such as x86_64, not more specific amd64) Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 4dae29808..683f40e1f 100644 --- a/meson.build +++ b/meson.build @@ -125,7 +125,7 @@ cdata = configuration_data() cdata.set_quoted('PACKAGE', 'pulseaudio') cdata.set_quoted('PACKAGE_NAME', 'pulseaudio') cdata.set_quoted('PACKAGE_VERSION', pa_version_str) -cdata.set_quoted('CANONICAL_HOST', host_machine.cpu()) +cdata.set_quoted('CANONICAL_HOST', target_machine.cpu_family()) cdata.set('PA_MAJOR', pa_version_major) cdata.set('PA_MINOR', pa_version_minor) cdata.set('PA_API_VERSION', pa_api_version) -- cgit v1.2.3