diff options
| author | Charlie Sharpsteen | 2011-12-24 12:48:10 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-12-24 12:48:10 -0800 |
| commit | 33db0a966595ad407d1a048e073e156f3e8138f8 (patch) | |
| tree | 760ce4d73a25c7629628a6c161127835920c6e6a /Library | |
| parent | e416bd11151542361a5ebda629a056e6c37555b4 (diff) | |
| download | brew-33db0a966595ad407d1a048e073e156f3e8138f8.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index b814eeabc..f10bffa86 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! |
