aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/redis.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb
index bebd1f930..c33edb707 100644
--- a/Library/Formula/redis.rb
+++ b/Library/Formula/redis.rb
@@ -10,6 +10,8 @@ class Redis <Formula
def install
fails_with_llvm "Breaks with LLVM"
+ ENV["OBJARCH"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386"
+
# Head and stable have different code layouts
src = File.exists?('src/Makefile') ? 'src' : '.'
system "make -C #{src}"