From b18c7481aac9f79e7108e12458bc6743945311bd Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Mon, 10 Apr 2023 22:46:03 +0200 Subject: [PATCH] Fix forced optimization in dev_build Fixes forced optimization in dev_build. --- methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods.py b/methods.py index 7654e6e86d8..33ab894f924 100644 --- a/methods.py +++ b/methods.py @@ -50,7 +50,7 @@ def disable_warnings(self): def force_optimization_on_debug(self): # 'self' is the environment - if self["target"] != "template-release": + if self["target"] == "template_release": return if self.msvc: