From 1e62ec70326af16be5feacc257f176f6beaf5a5e Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 21 Feb 2012 09:43:04 +0000 Subject: Don't use clang 3.1 for Redis Refs #10305. Refs #10309.--- Library/Formula/redis.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library') 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" -- cgit v1.2.3