ArchRequirement: support :intel, :ppc
This commit is contained in:
parent
1dc2e12f3a
commit
ea3861d296
@ -77,6 +77,7 @@ class ArchRequirement < Requirement
|
|||||||
satisfy do
|
satisfy do
|
||||||
case @arch
|
case @arch
|
||||||
when :x86_64 then MacOS.prefer_64_bit?
|
when :x86_64 then MacOS.prefer_64_bit?
|
||||||
|
when :intel, :ppc then Hardware::CPU.type == @arch
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user