mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-23 18:03:32 +08:00
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>
This commit is contained in:
parent
ecd597995a
commit
cb3d12377c
@ -125,7 +125,7 @@ cdata = configuration_data()
|
|||||||
cdata.set_quoted('PACKAGE', 'pulseaudio')
|
cdata.set_quoted('PACKAGE', 'pulseaudio')
|
||||||
cdata.set_quoted('PACKAGE_NAME', 'pulseaudio')
|
cdata.set_quoted('PACKAGE_NAME', 'pulseaudio')
|
||||||
cdata.set_quoted('PACKAGE_VERSION', pa_version_str)
|
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_MAJOR', pa_version_major)
|
||||||
cdata.set('PA_MINOR', pa_version_minor)
|
cdata.set('PA_MINOR', pa_version_minor)
|
||||||
cdata.set('PA_API_VERSION', pa_api_version)
|
cdata.set('PA_API_VERSION', pa_api_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user