mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05: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
|
|
@ -16,7 +16,6 @@ pipewire_dummy_sources = [
|
|||
|
||||
pipewire_jack_c_args = [
|
||||
'-DHAVE_CONFIG_H',
|
||||
'-D_GNU_SOURCE',
|
||||
'-DPIC',
|
||||
]
|
||||
|
||||
|
|
@ -82,7 +81,6 @@ endif
|
|||
if sdl_dep.found()
|
||||
executable('video-dsp-play',
|
||||
'../examples/video-dsp-play.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
include_directories : [jack_inc],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir / 'examples' / 'jack',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue