From 75d4e98038b987f5ffc125b3df0564e2738377d4 Mon Sep 17 00:00:00 2001 From: ocean Date: Mon, 9 Jan 2006 05:27:43 +0000 Subject: * 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 --- win32/Makefile.sub | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win32') 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 -- cgit