summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-27 14:43:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-27 14:43:06 +0000
commit5dba068e10f3f115515c49b2788cf6bb4df9c121 (patch)
treeef6fa314d0d43d52554f41d322b56a3dcef949b3 /win32/Makefile.sub
parent0a1883cc5b3344d6a806ff95f595d7cd4cff93ea (diff)
* win32/Makefile.sub (OPTFLAGS): default global optimization to
disabled only for VC++6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 0c1a8a9..37ad8ff 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -67,7 +67,10 @@ ARCH = $(PROCESSOR_ARCHITECTURE)
DEBUGFLAGS = -Zi
!endif
!if !defined(OPTFLAGS)
-OPTFLAGS = -O2b2xg-
+OPTFLAGS = -O2b2x
+!if $(MSC_VER) < 1300
+OPTFLAGS = $(OPTFLAGS)g-
+!endif
!endif
!if !defined(OS)
OS = mswin32