aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/tools
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2016-10-12 14:36:20 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2016-10-12 14:36:20 -0700
commitfb4509bd73fde1525b07c74b2446c1c365e4f26c (patch)
tree7f18596788349de9ce2ada1d6c379988710be6e0 /src/ruby/tools
parent8d970ea2b6411d4bcf01d175cf9a2628b0dd3338 (diff)
add i386 to recognized x86 cpu in ruby tools package
Diffstat (limited to 'src/ruby/tools')
-rw-r--r--src/ruby/tools/platform_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/tools/platform_check.rb b/src/ruby/tools/platform_check.rb
index e891ec23a8..c058deb5f5 100644
--- a/src/ruby/tools/platform_check.rb
+++ b/src/ruby/tools/platform_check.rb
@@ -46,7 +46,7 @@ module PLATFORM
case RbConfig::CONFIG['host_cpu']
when /x86_64/
'x86_64'
- when /x86|i686/
+ when /x86|i686|i386/
'x86'
else
fail 'cpu architecture detection failed'