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
|
|
@ -11,7 +11,6 @@ foreach a : test_apps
|
|||
executable('spa-' + a, a + '.c',
|
||||
dependencies : [dl_lib, pthread_lib, mathlib ],
|
||||
include_directories : [spa_inc, includes_inc ],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir),
|
||||
env : [
|
||||
|
|
@ -68,7 +67,6 @@ foreach a : benchmark_apps
|
|||
executable('spa-' + a, a + '.c',
|
||||
dependencies : [dl_lib, pthread_lib, mathlib ],
|
||||
include_directories : [spa_inc ],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir),
|
||||
env : [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue