build: do not hardcode endianess of a system
This commit is contained in:
parent
3196e47d51
commit
2627baeea3
4 changed files with 6 additions and 7 deletions
|
|
@ -4,7 +4,11 @@ project('buffybox', 'c',
|
|||
meson_version: '>= 0.59.0'
|
||||
)
|
||||
|
||||
add_project_arguments('-DPROJECT_VERSION="@0@"'.format(meson.project_version()), language: 'c')
|
||||
add_project_arguments(
|
||||
'-DPROJECT_VERSION="@0@"'.format(meson.project_version()),
|
||||
'-DLV_BIG_ENDIAN_SYSTEM=' + (host_machine.endian() == 'big'? '1' : '0'),
|
||||
language: 'c'
|
||||
)
|
||||
|
||||
depinih = dependency('inih')
|
||||
deplibinput = dependency('libinput')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue