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:
Quentin Glidic 2019-03-26 12:08:28 +01:00
parent 7e0affdb98
commit 0657107fd5
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
2 changed files with 0 additions and 7 deletions

View File

@ -22,12 +22,6 @@ flags = [
'-Wunreachable-code',
'-Werror=missing-prototypes',
]
if get_option('enable-asan')
flags += [
'-fsanitize=address',
'-fno-omit-frame-pointer',
]
endif
foreach f : flags
if c_compiler.has_argument(f)
add_project_arguments(f, language: 'c')

View File

@ -1,5 +1,4 @@
option('enable-drun', type: 'boolean', value: true, description: 'Desktop file mode')
option('enable-window', type: 'boolean', value: true, description: 'Window switcher mode')
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')