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
commitc3ad628d96130eceb849c673d74b14a2a4026630 (patch)
treee69ddfa83cbfcfb2330c6aecf81489965a333941 /win32
parentb929591edcae27748b956632f69dc12ede053bd7 (diff)
downloadruby-c3ad628d96130eceb849c673d74b14a2a4026630.tar.gz
ruby-c3ad628d96130eceb849c673d74b14a2a4026630.tar.xz
ruby-c3ad628d96130eceb849c673d74b14a2a4026630.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/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 1e881f1b3..a04f614c2 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