summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-01-09 05:27:43 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-01-09 05:27:43 +0000
commitc16cbe386ab8d7d15a23ce44ca34b8a78b0c3a97 (patch)
treee69ddfa83cbfcfb2330c6aecf81489965a333941 /win32
parentc5249a6ff9e46186dbbf31c3490a44301d52a3d5 (diff)
* win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
(VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040] * lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder) [ruby-core:7075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-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