mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
meson: add option to enable poisoning of deallocated objects
This commit is contained in:
parent
c31ef7fa51
commit
463663d4b4
2 changed files with 2 additions and 0 deletions
|
@ -374,6 +374,7 @@ test_deps = [gmp_dep, gsl_dep, gslcblas_dep]
|
|||
dl_dep = cc.find_library('dl', required : false)
|
||||
cdata.set('HAVE_DLADDR', cc.has_function('dladdr', dependencies : dl_dep))
|
||||
cdata.set10('GST_ENABLE_EXTRA_CHECKS', get_option('extra-checks'))
|
||||
cdata.set('USE_POISONING', get_option('poisoning'))
|
||||
|
||||
configinc = include_directories('.')
|
||||
libsinc = include_directories('libs')
|
||||
|
|
|
@ -10,6 +10,7 @@ option('ptp-helper-setuid-group', type : 'string',
|
|||
option('ptp-helper-permissions', type : 'combo',
|
||||
choices : ['none', 'setuid-root', 'capabilities', 'auto'], value : 'auto')
|
||||
option('extra-checks', type : 'boolean', value : true, description : 'Enable extra runtime checks')
|
||||
option('poisoning', type : 'boolean', value : false, description : 'Enable poisoning of deallocated objects')
|
||||
|
||||
# Feature options
|
||||
option('libunwind', type : 'feature', value : 'auto', description : 'Use libunwind to generate backtraces')
|
||||
|
|
Loading…
Reference in a new issue