mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson.build: add -D_GNU_SOURCE to the project arguments
This appends it to every compilation command so we can get rid of the c_args for (almost all) executables.
This commit is contained in:
parent
fee4d0eae1
commit
0054319d88
17 changed files with 5 additions and 42 deletions
|
|
@ -8,6 +8,7 @@ project('pipewire', ['c' ],
|
|||
#'b_sanitize=address,undefined',
|
||||
'buildtype=debugoptimized' ])
|
||||
|
||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||
|
||||
pipewire_version = meson.project_version()
|
||||
version_arr = pipewire_version.split('.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue