mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-05 17:08:53 +00:00
meson: use global b_pie to build PIE executables
This commit is contained in:
parent
a6433b0839
commit
abe73c9146
|
@ -4,6 +4,7 @@ project('pipewire', ['c' ],
|
|||
meson_version : '>= 0.49.0',
|
||||
default_options : [ 'warning_level=3',
|
||||
'c_std=gnu99',
|
||||
'b_pie=true',
|
||||
'buildtype=debugoptimized' ])
|
||||
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ executable('spa-acp-tool',
|
|||
dependencies : [ alsa_dep, mathlib ],
|
||||
link_with : [ acp_lib ],
|
||||
install : true,
|
||||
pie : true,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -193,6 +193,5 @@ if sndfile_dep.found()
|
|||
link_with : [ audioconvert, test_lib ],
|
||||
dependencies : [sndfile_dep, mathlib],
|
||||
install : true,
|
||||
pie : true,
|
||||
)
|
||||
endif
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
executable('spa-inspect', 'spa-inspect.c',
|
||||
include_directories : [spa_inc],
|
||||
dependencies : [dl_lib, ],
|
||||
pie : true,
|
||||
install : true)
|
||||
|
||||
executable('spa-monitor', 'spa-monitor.c',
|
||||
include_directories : [spa_inc],
|
||||
dependencies : [dl_lib, ],
|
||||
pie : true,
|
||||
install : true)
|
||||
|
|
|
@ -42,7 +42,6 @@ configure_file(input : 'pipewire.conf.in',
|
|||
executable('pipewire',
|
||||
pipewire_daemon_sources,
|
||||
install: true,
|
||||
pie: true,
|
||||
c_args : pipewire_c_args,
|
||||
include_directories : [configinc, spa_inc],
|
||||
dependencies : [pipewire_dep, ],
|
||||
|
@ -51,7 +50,6 @@ executable('pipewire',
|
|||
executable('pipewire-pulse',
|
||||
'pipewire-pulse.c',
|
||||
install: true,
|
||||
pie: true,
|
||||
c_args : pipewire_c_args,
|
||||
include_directories : [configinc, spa_inc],
|
||||
dependencies : [pipewire_dep, ],
|
||||
|
|
|
@ -91,7 +91,6 @@ if alsa_dep.found()
|
|||
'media-session/suspend-node.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [dbus_dep, pipewire_dep, alsa_dep, mathlib],
|
||||
)
|
||||
endif
|
||||
|
@ -100,7 +99,6 @@ executable('pw-reserve',
|
|||
'media-session/pw-reserve.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [dbus_dep, pipewire_dep],
|
||||
)
|
||||
|
||||
|
|
|
@ -2,21 +2,18 @@ executable('pw-mon',
|
|||
'pw-mon.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
executable('pw-cli',
|
||||
'pw-cli.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
executable('pw-dot',
|
||||
'pw-dot.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
|
@ -24,7 +21,6 @@ executable('pw-dump',
|
|||
'pw-dump.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
|
@ -32,7 +28,6 @@ executable('pw-profiler',
|
|||
'pw-profiler.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
|
@ -40,7 +35,6 @@ executable('pw-mididump',
|
|||
[ 'pw-mididump.c', 'midifile.c'],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
|
@ -48,7 +42,6 @@ executable('pw-metadata',
|
|||
[ 'pw-metadata.c'],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
|
@ -57,7 +50,6 @@ if ncurses_dep.found()
|
|||
'pw-top.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [pipewire_dep, ncurses_dep],
|
||||
)
|
||||
endif
|
||||
|
@ -80,7 +72,6 @@ if get_option('pw-cat') and sndfile_dep.found()
|
|||
pwcat_sources,
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
pie: true,
|
||||
dependencies : [sndfile_dep, pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user