Merge pull request #7477 from runlevel5/ppc64le-patch-2

Update Hardware::CPU.oldest_family with ppc64
This commit is contained in:
Mike McQuaid 2020-05-02 13:33:39 +01:00 committed by GitHub
commit 010663fb12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,6 +180,12 @@ module Hardware
else else
:armv6 :armv6
end end
elsif Hardware::CPU.ppc? && Hardware::CPU.is_64_bit?
if Hardware::CPU.little_endian?
:ppc64le
else
:ppc64
end
else else
Hardware::CPU.family Hardware::CPU.family
end end