summaryrefslogtreecommitdiffstats
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
commit0abe11a7e4f70b01e0792d0be21bd43b171b3157 (patch)
tree3b702115c1e578bdd8ae6e9bcf5f5add53b27cf0 /bcc32/Makefile.sub
parentc4a087949113a99eef50ed314f8e1e0dc1f34b49 (diff)
downloadruby-0abe11a7e4f70b01e0792d0be21bd43b171b3157.tar.gz
ruby-0abe11a7e4f70b01e0792d0be21bd43b171b3157.tar.xz
ruby-0abe11a7e4f70b01e0792d0be21bd43b171b3157.zip
* bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.
* win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/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 9ef83105c..c5f7c16ef 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