diff options
| author | Max Howell | 2012-02-21 09:43:04 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-21 09:43:04 +0000 |
| commit | 1e62ec70326af16be5feacc257f176f6beaf5a5e (patch) | |
| tree | 1971ea828b8a1d432b6c96bfb4ea9c81199127e8 /Library | |
| parent | 8ee2a1d8b01dcd8d4f59ec1288e37ada166067a1 (diff) | |
| download | homebrew-1e62ec70326af16be5feacc257f176f6beaf5a5e.tar.bz2 | |
Don't use clang 3.1 for Redis
Refs #10305.
Refs #10309.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/redis.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index 7defca874..f95cca681 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -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" |
