From 33db0a966595ad407d1a048e073e156f3e8138f8 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sat, 24 Dec 2011 12:48:10 -0800 Subject: [PATCH] formula.rb: Don't apply fails_with_llvm to Clang Clang is vastly different than LLVM-GCC and is under active development. Using Clang is a viable solution to formula that fail with LLVM and a suggested recourse for users of XCode 4.2 or newer. Fixes Homebrew/homebrew#9242. --- Library/Homebrew/formula.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index b814eeabc6..f10bffa865 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -329,8 +329,7 @@ class Formula end def handle_llvm_failure llvm - case ENV.compiler - when :llvm, :clang + if ENV.compiler == :llvm # version 2335 is the latest version as of Xcode 4.1, so it is the # latest version we have tested against so we will switch to GCC and # bump this integer when Xcode 4.2 is released. TODO do that!