Browse Source

Merge pull request #1876 from antonyjones67/FixCFlagInDebug

Change windows build to use CFlag /Od so that you get the full debug …
Juan Linietsky 10 years ago
parent
commit
ac1b72a49c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/windows/detect.py

+ 1 - 1
platform/windows/detect.py

@@ -204,7 +204,7 @@ def configure(env):
 
 		elif (env["target"]=="debug"):
 
-			env.Append(CCFLAGS=['/Zi','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/O1'])
+			env.Append(CCFLAGS=['/Zi','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/Od'])
 			env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE'])
 			env.Append(LINKFLAGS=['/DEBUG'])