From b046b9a96bc0ba45af2662db17dc679e5688ba70 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Tue, 19 Dec 2023 11:33:55 +0000 Subject: [PATCH] Enable -O2 in depends.py Signed-off-by: Dave Rodgman --- tests/scripts/depends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py index 6c2e6d6e3b9d..c6a438ee362f 100755 --- a/tests/scripts/depends.py +++ b/tests/scripts/depends.py @@ -392,7 +392,7 @@ def config_symbols_matching(self, regexp): def __init__(self, options, conf): """Gather data about the library and establish a list of domains to test.""" - build_command = [options.make_command, 'CFLAGS=-Werror'] + build_command = [options.make_command, 'CFLAGS=-Werror -O2'] build_and_test = [build_command, [options.make_command, 'test']] self.all_config_symbols = set(conf.settings.keys()) # Find hash modules by name.