Pārlūkot izejas kodu

Fix forced optimization in dev_build

Fixes forced optimization in dev_build.
smix8 2 gadi atpakaļ
vecāks
revīzija
b18c7481aa
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      methods.py

+ 1 - 1
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: