aboutsummaryrefslogtreecommitdiffstats
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
commit6329fa50b69c3982488ed6b4ca593c8177ddaf40 (patch)
treed188253eec175203bc4eafe2b144bed1a6bc7080 /win32/Makefile.sub
parentbe2020554745ea4f09ec54ad78e247e868c79cb5 (diff)
downloadruby-6329fa50b69c3982488ed6b4ca593c8177ddaf40.tar.gz
* win32/Makefile.sub (OPTFLAGS): default global optimization to
disabled only for VC++6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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 fcebd80a85..abe454a2c9 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -68,7 +68,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