From 569c80323b7b28028552e21759790b83f5b305b3 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 29 Jul 2016 20:02:39 -0600 Subject: [PATCH] hardware: add ARM detection from Linuxbrew. --- Library/Homebrew/hardware.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index 5447854a65..a7c6d353cb 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -70,6 +70,10 @@ module Hardware type == :ppc end + def arm? + type == :arm + end + def features [] end