summaryrefslogtreecommitdiffstats
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
commit75d4e98038b987f5ffc125b3df0564e2738377d4 (patch)
tree733192d890d0ed21b6598e2530ffb8ada723a95b /win32
parentc48f9b444a92ac622354b2e3196f1239836de205 (diff)
downloadruby-75d4e98038b987f5ffc125b3df0564e2738377d4.tar.gz
ruby-75d4e98038b987f5ffc125b3df0564e2738377d4.tar.xz
ruby-75d4e98038b987f5ffc125b3df0564e2738377d4.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@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 fbb0a12fa..613297950 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -76,8 +76,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