summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2023-04-10 22:46:03 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-24 16:28:26 +0200
commit25518aad2742e8314c270a963c50d679f694fdc6 (patch)
tree08ebbece9c9a44bfa38696b1a57cb31dd88cc0a0
parent9253f415b3407e1dc96a7b4cb0bbd28ed9fcf991 (diff)
Fix forced optimization in dev_build
Fixes forced optimization in dev_build. (cherry picked from commit b18c7481aac9f79e7108e12458bc6743945311bd)
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 7654e6e86d..33ab894f92 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: