summaryrefslogtreecommitdiff
path: root/bcc32/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 /bcc32/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 'bcc32/Makefile.sub')
-rw-r--r--bcc32/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index 9ef83105cc..c5f7c16efb 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -50,6 +50,9 @@ AUTOCONF = autoconf
!ifndef PROCESSOR_LEVEL
PROCESSOR_LEVEL = 5
!endif
+!if 6 < $(PROCESSOR_LEVEL)
+PROCESSOR_LEVEL = 6
+!endif
PROCESSOR_FLAG = -$(PROCESSOR_LEVEL)
CPU = i$(PROCESSOR_LEVEL)86
ARCH = i$(PROCESSOR_LEVEL)86