[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] build-sys: meson: use target_machine.cpu_family() for CANONICAL_HOST

PulseAudio Marge Bot gitlab at gitlab.freedesktop.org
Mon Nov 30 16:17:09 UTC 2020



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
cb3d1237 by Igor V. Kovalenko at 2020-11-30T13:40:04+03: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>

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
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)



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/cb3d12377cb1131fb3627ece66b0b70c2c5e0479

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/cb3d12377cb1131fb3627ece66b0b70c2c5e0479
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201130/eeae9db5/attachment.htm>


More information about the pulseaudio-commits mailing list