1
0
Fork 0
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:
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', '-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')

View file

@ -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')