diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2019-03-26 12:08:28 +0100 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2019-03-26 12:08:32 +0100 |
commit | 0657107fd588fda8320d97a8960f7aa75753190e (patch) | |
tree | de64699b0cf379ab7fd39443333690575c07f5fa | |
parent | 7e0affdb98dead0af2225250f484b898af2aeef5 (diff) |
meson: Drop enable-asan option
Meson has b_sanitize=address built-in for that.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r-- | meson.build | 6 | ||||
-rw-r--r-- | meson_options.txt | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/meson.build b/meson.build index a4a06476..d628f31f 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/meson_options.txt b/meson_options.txt index 8ccef91a..4534df7b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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') |