diff options
| author | Max Howell | 2011-08-26 17:08:42 +0100 |
|---|---|---|
| committer | Max Howell | 2011-08-31 17:36:41 +0100 |
| commit | 2aa13c7997095e04b9c39c4325588c4c16fbb3d4 (patch) | |
| tree | 12dfcaa26bfb311a7c353e0b2ad78031e1bb2cc3 /Library | |
| parent | 0723c234a79346dd07d21f95d1cbc022c0892627 (diff) | |
| download | homebrew-2aa13c7997095e04b9c39c4325588c4c16fbb3d4.tar.bz2 | |
Don't fail to build with llvm if llvm build is newer
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 42c0e575a..141164650 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -224,7 +224,14 @@ class Formula end def fails_with_llvm? - self.class.fails_with_llvm_reason || false + llvm = self.class.fails_with_llvm_reason + if llvm + if llvm.build + MacOS.llvm_build_version <= llvm.build + else + true + end + end end # sometimes the clean process breaks things |
