From 42bdc8ea38c487be4c87c883857aa1ed8ab0f5ca Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 28 May 2020 11:42:59 +0200 Subject: [PATCH] build: ensure we set all needed asan option for check run as well Normally we would set the needed detect_odr_violation=0 form our CI scripts. Move it here to ensure we have it set and it does not get forgotten when meson overrides the env far. Fixes the ASAN job on CI. Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D11902 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 97c0ef4..bcd87d0 100644 --- a/meson.build +++ b/meson.build @@ -14,7 +14,7 @@ test_env = environment() test_env.set('EFL_RUN_IN_TREE', '1') if get_option('b_sanitize') == 'address' - test_env.set('ASAN_OPTIONS', 'detect_leaks=0') + test_env.set('ASAN_OPTIONS', 'detect_leaks=0:detect_odr_violation=0') endif version_arr = meson.project_version().split('.') -- 2.7.4