diff options
| author | Charlie Sharpsteen | 2011-12-24 12:48:10 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-12-24 12:48:10 -0800 |
| commit | 0db2bab96b759ad27f6ca4beaa0b5b0e39754b05 (patch) | |
| tree | 3833ed3f6765978e596c6618b133c1f07252be0c /Library | |
| parent | 8775400609114cae004ae3d54aeb1dc0c56ef662 (diff) | |
| download | homebrew-0db2bab96b759ad27f6ca4beaa0b5b0e39754b05.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 #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! |
