Don't fail to build with llvm if llvm build is newer

This commit is contained in:
Max Howell 2011-08-26 17:08:42 +01:00
parent 5b00ab493b
commit cf1a6e185c

View File

@ -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