From 6efa608d20b1928ebf4f9f82a1fcde273eace59f Mon Sep 17 00:00:00 2001 From: Przemek Stekiel Date: Wed, 31 May 2023 09:38:21 +0200 Subject: [PATCH] Revert setting optimization flag(use O2) Signed-off-by: Przemek Stekiel --- tests/scripts/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index f2a37f2d4c..4b220404d2 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -187,7 +187,7 @@ pre_initialize_variables () { # CFLAGS and LDFLAGS for Asan builds that don't use CMake # default to -O2, use -Ox _after_ this if you want another level - ASAN_CFLAGS='-O0 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' + ASAN_CFLAGS='-O2 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' # Gather the list of available components. These are the functions # defined in this script whose name starts with "component_".