Skip to content
Snippets Groups Projects
Commit aaddb5cb authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

continue use of host_cpu and use x86 whenever not x86_64

parent 0da96443
No related branches found
No related tags found
No related merge requests found
...@@ -42,15 +42,13 @@ module PLATFORM ...@@ -42,15 +42,13 @@ module PLATFORM
'linux' 'linux'
end end
end end
def PLATFORM.architecture def PLATFORM.architecture
case RbConfig::CONFIG['target_cpu'] case RbConfig::CONFIG['host_cpu']
when /x86_64/ when /x86_64/
'x86_64' 'x86_64'
when /x86|i386/
'x86'
else else
fail 'cpu architecture detection failed' 'x86'
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment