mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
meson: Drop enable-asan option
Meson has b_sanitize=address built-in for that. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
7e0affdb98
commit
0657107fd5
2 changed files with 0 additions and 7 deletions
|
@ -22,12 +22,6 @@ flags = [
|
||||||
'-Wunreachable-code',
|
'-Wunreachable-code',
|
||||||
'-Werror=missing-prototypes',
|
'-Werror=missing-prototypes',
|
||||||
]
|
]
|
||||||
if get_option('enable-asan')
|
|
||||||
flags += [
|
|
||||||
'-fsanitize=address',
|
|
||||||
'-fno-omit-frame-pointer',
|
|
||||||
]
|
|
||||||
endif
|
|
||||||
foreach f : flags
|
foreach f : flags
|
||||||
if c_compiler.has_argument(f)
|
if c_compiler.has_argument(f)
|
||||||
add_project_arguments(f, language: 'c')
|
add_project_arguments(f, language: 'c')
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
option('enable-drun', type: 'boolean', value: true, description: 'Desktop file mode')
|
option('enable-drun', type: 'boolean', value: true, description: 'Desktop file mode')
|
||||||
option('enable-window', type: 'boolean', value: true, description: 'Window switcher mode')
|
option('enable-window', type: 'boolean', value: true, description: 'Window switcher mode')
|
||||||
option('enable-timings', type: 'boolean', value: false, description: 'Timings output')
|
option('enable-timings', type: 'boolean', value: false, description: 'Timings output')
|
||||||
option('enable-asan', type: 'boolean', value: false, description: 'Address sanitizer')
|
|
||||||
option('enable-check', type: 'boolean', value: true, description: 'Build and run libcheck-based tests')
|
option('enable-check', type: 'boolean', value: true, description: 'Build and run libcheck-based tests')
|
||||||
|
|
Loading…
Reference in a new issue