aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/redis-tools.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/redis-tools.rb b/Library/Formula/redis-tools.rb
index a0a84059a..d3cfc4657 100644
--- a/Library/Formula/redis-tools.rb
+++ b/Library/Formula/redis-tools.rb
@@ -5,6 +5,8 @@ class RedisTools < Formula
homepage 'https://github.com/antirez/redis-tools'
def install
+ # Architecture isn't detected correctly on 32bit Snow Leopard without help
+ ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
system "make"
bin.install ["redis-load", "redis-stat"]
end