build-sys: meson: use target_machine.cpu_family() for CANONICAL_HOST
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>
Mon, 30 Nov 2020 10:31:19 +0000 (13:31 +0300)
committerIgor V. Kovalenko <igor.v.kovalenko@gmail.com>
Mon, 30 Nov 2020 10:40:04 +0000 (13:40 +0300)
commitcb3d12377cb1131fb3627ece66b0b70c2c5e0479
tree032946414cda715129bec699b54e66bf652bd4b6
parentecd597995a587705752796e3b8e229430ee6e847
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: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/426>
meson.build