mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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>
This commit is contained in:
parent
c096193512
commit
a7d44750af
1 changed files with 4 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue