Skip to content

Commit

Permalink
Don't use clang 3.1 for Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Feb 21, 2012
1 parent 8324c0f commit 8b85035
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Library/Formula/redis.rb
Expand Up @@ -10,6 +10,11 @@ class Redis < Formula
fails_with_llvm 'Fails with "reference out of range from _linenoise"', :build => 2334

def install
if MacOS.default_compiler == :clang
# auto-retest next clang version, submit patch if fails!
ENV.llvm if MacOS.clang_version.to_f <= 3.1
end

# Architecture isn't detected correctly on 32bit Snow Leopard without help
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"

Expand Down

0 comments on commit 8b85035

Please sign in to comment.