universal_archs returns ArchitectureListExtension
Closes Homebrew/homebrew#22210. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
fb50be432a
commit
774cd8b68b
@ -5,7 +5,7 @@ module LinuxCPUs
|
|||||||
# Linux supports x86 only, and universal archs do not apply
|
# Linux supports x86 only, and universal archs do not apply
|
||||||
def arch_32_bit; :i386; end
|
def arch_32_bit; :i386; end
|
||||||
def arch_64_bit; :x86_64; end
|
def arch_64_bit; :x86_64; end
|
||||||
def universal_archs; []; end
|
def universal_archs; [].extend ArchitectureListExtension; end
|
||||||
|
|
||||||
def type
|
def type
|
||||||
@cpu_type ||= case `uname -m`
|
@cpu_type ||= case `uname -m`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user