From 9dd86bbdc87b39e434dbec02058222bcfc63d7f0 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Fri, 30 May 2025 06:16:03 +0300
Subject: [PATCH 96/96] CodingStyle: Instruct test build with
 '-Doptimization=2'

See RM #1477

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 doc/CodingStyle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/CodingStyle b/doc/CodingStyle
index 0638e1d2fd..edc951b5a4 100644
--- a/doc/CodingStyle
+++ b/doc/CodingStyle
@@ -628,7 +628,7 @@ functions available natively.
   -Wstrict-prototypes -Wnested-externs -Wl,--no-add-needed" if you use gcc.
 
 - Always check compilation with the configure options
-  -Ddebug=true -Dwerror=true
+  -Ddebug=true -Dwerror=true -Doptimization=2
 
 - Header files should be compatible with C++ but code (.c) files need not
   be. This means some C++ keywords (like "this" or "class") may not be used
-- 
2.47.2

