Selaa lähdekoodia

Fix forced optimization in dev_build

Fixes forced optimization in dev_build.

(cherry picked from commit b18c7481aac9f79e7108e12458bc6743945311bd)
smix8 2 vuotta sitten
vanhempi
commit
25518aad27
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      methods.py

+ 1 - 1
methods.py

@@ -50,7 +50,7 @@ def disable_warnings(self):
 
 
 def force_optimization_on_debug(self):
 def force_optimization_on_debug(self):
     # 'self' is the environment
     # 'self' is the environment
-    if self["target"] != "template-release":
+    if self["target"] == "template_release":
         return
         return
 
 
     if self.msvc:
     if self.msvc: