aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-07-29 20:02:39 -0600
committerMike McQuaid2016-07-29 21:21:02 -0600
commit569c80323b7b28028552e21759790b83f5b305b3 (patch)
treea8ebf79fba7244ce1ff1f1a4fbf83a5754331c32 /Library
parent5566757f60a66337644eba11d92821d0938da5bd (diff)
downloadbrew-569c80323b7b28028552e21759790b83f5b305b3.tar.bz2
hardware: add ARM detection from Linuxbrew.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/hardware.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb
index 5447854a6..a7c6d353c 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