summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2019-03-26 12:08:28 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2019-03-26 12:08:32 +0100
commit0657107fd588fda8320d97a8960f7aa75753190e (patch)
treede64699b0cf379ab7fd39443333690575c07f5fa
parent7e0affdb98dead0af2225250f484b898af2aeef5 (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.build6
-rw-r--r--meson_options.txt1
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')