summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-11 04:16:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-11 04:16:58 +0000
commitec16af81733434c2be946c72bd56744229716844 (patch)
tree3b702115c1e578bdd8ae6e9bcf5f5add53b27cf0 /win32/Makefile.sub
parent0b67be50a514386fb3f7ac9c4488f7e2c2e3f744 (diff)
* bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.
* win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index c75c248..930fb04 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -43,6 +43,9 @@ AUTOCONF = autoconf
!if !defined(PROCESSOR_LEVEL)
PROCESSOR_LEVEL = 5
!endif
+!if 6 < $(PROCESSOR_LEVEL)
+PROCESSOR_LEVEL = 6
+!endif
PROCESSOR_FLAG = -G$(PROCESSOR_LEVEL)
CPU = i$(PROCESSOR_LEVEL)86
ARCH = i386