aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/zookeeper.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-08-01 20:40:42 -0700
committerMisty De Meo2013-08-15 22:46:56 -0700
commita354451a1aeb7b3094001554bd5b683cdc538ed0 (patch)
tree56e58684105d24ea767d3b38b7c72b473918e681 /Library/Formula/zookeeper.rb
parent89eecf23369de6829a01c68249a42562b1a30247 (diff)
downloadhomebrew-a354451a1aeb7b3094001554bd5b683cdc538ed0.tar.bz2
Use Hardware::CPU.arch(32|64)_bit in formulae
Diffstat (limited to 'Library/Formula/zookeeper.rb')
-rw-r--r--Library/Formula/zookeeper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb
index b35509a80..cfb048d00 100644
--- a/Library/Formula/zookeeper.rb
+++ b/Library/Formula/zookeeper.rb
@@ -46,7 +46,7 @@ class Zookeeper < Formula
def install
# Don't try to build extensions for PPC
if Hardware.is_32_bit?
- ENV['ARCHFLAGS'] = "-arch i386"
+ ENV['ARCHFLAGS'] = "-arch #{Hardware::CPU.arch_32_bit}"
else
ENV['ARCHFLAGS'] = "-arch i386 -arch x86_64"
end