summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 1e881f1b33..a04f614c2d 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -69,8 +69,12 @@ ARCH = $(PROCESSOR_ARCHITECTURE)
DEBUGFLAGS = -Zi
!endif
!if !defined(OPTFLAGS)
+!if $(MSC_VER) < 1400
+OPTFLAGS = -O2b2xg-
+!else
OPTFLAGS = -O2b2xty-
!endif
+!endif
!if !defined(OS)
OS = mswin32
!endif