aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/redis.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-18 10:30:47 -0700
committerAdam Vandenberg2011-03-18 10:30:47 -0700
commit46c553ad431193c1cac98484b9610b6fe1a0136b (patch)
treea93bba9fd5f3073f4fc3f0d61c8bccc264134d9f /Library/Formula/redis.rb
parentedeace562e45802525e5699ea73465380cb9e8c3 (diff)
downloadhomebrew-46c553ad431193c1cac98484b9610b6fe1a0136b.tar.bz2
Replace snow_leopard_64? in brews.
Diffstat (limited to 'Library/Formula/redis.rb')
-rw-r--r--Library/Formula/redis.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb
index eaae8950a..602c52be7 100644
--- a/Library/Formula/redis.rb
+++ b/Library/Formula/redis.rb
@@ -10,7 +10,7 @@ class Redis < Formula
fails_with_llvm "Fails with \"reference out of range from _linenoise\""
# Architecture isn't detected correctly on 32bit Snow Leopard without help
- ENV["OBJARCH"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386"
+ ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
# Head and stable have different code layouts
src = File.exists?('src/Makefile') ? 'src' : '.'