[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] build-sys: meson: restore big endian detection

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Thu Jun 3 18:41:06 UTC 2021



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
a7d44750 by Igor V. Kovalenko at 2021-06-03T18:38:06+00:00
build-sys: meson: restore big endian detection

Autotools used AC_C_BIGENDIAN to set WORDS_BIGENDIAN, add Meson implementation.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/572>

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -169,6 +169,10 @@ cdata.set('OS_IS_FREEBSD', 0)
 platform_socket_dep = []
 platform_dep = []
 
+if host_machine.endian() == 'big'
+  cdata.set('WORDS_BIGENDIAN', 1)
+endif
+
 # FIXME: This was not tested. Maybe some flags should better be CFLAGS,
 # rather than ending up in the config.h file?
 if host_machine.system() == 'darwin'



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

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/a7d44750af9a7c535ac4bf474d49a7cdc2aab415
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/20210603/9515cbee/attachment-0001.htm>


More information about the pulseaudio-commits mailing list