Update Hardware::CPU.oldest_family with ppc64

This commit is contained in:
Trung Le 2020-05-01 23:21:28 +10:00
parent a4eb7e73f4
commit d6c80c8671

View File

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