From 0657107fd588fda8320d97a8960f7aa75753190e Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Tue, 26 Mar 2019 12:08:28 +0100 Subject: [PATCH] meson: Drop enable-asan option Meson has b_sanitize=address built-in for that. Signed-off-by: Quentin Glidic --- meson.build | 6 ------ meson_options.txt | 1 - 2 files changed, 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')