diff options
-rw-r--r-- | build/detectenv_msvc.mak | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/detectenv_msvc.mak b/build/detectenv_msvc.mak index 3e3dcdf4..d4b9b84a 100644 --- a/build/detectenv_msvc.mak +++ b/build/detectenv_msvc.mak @@ -53,7 +53,11 @@ VALID_CFGSET = TRUE !endif
!if "$(CFG)" == "release"
+!if "$(VSVER)" == "9" && "$(PLAT)" == "x64"
+CFLAGS_ADD = /MD /O1 /Oi
+!else
CFLAGS_ADD = /MD /O2
+!endif
!else
CFLAGS_ADD = /MDd /Od /Zi /DG_ENABLE_DEBUG
!endif
|