mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -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
|
|
@ -13,7 +13,6 @@ tools_sources = [
|
|||
foreach t : tools_sources
|
||||
executable(t.get(0),
|
||||
t.get(1),
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
|
@ -22,7 +21,6 @@ endforeach
|
|||
if ncurses_dep.found()
|
||||
executable('pw-top',
|
||||
'pw-top.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep, ncurses_dep],
|
||||
)
|
||||
|
|
@ -44,7 +42,6 @@ if not get_option('pw-cat').disabled() and sndfile_dep.found()
|
|||
|
||||
executable('pw-cat',
|
||||
pwcat_sources,
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [sndfile_dep, pipewire_dep, mathlib],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue