aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
authorJack Nagel2013-04-01 12:33:42 -0500
committerJack Nagel2013-04-02 13:19:04 -0500
commit2ccca70dc38c1795005c803759ab3f0f6dfecf10 (patch)
treef87417d5eff8f0c5f3093427897bde7dfbe36dce /Library/Homebrew/compilers.rb
parentda184c25e9dd8882c7464b891d4349a8aa4c5442 (diff)
downloadhomebrew-2ccca70dc38c1795005c803759ab3f0f6dfecf10.tar.bz2
Bump useable clang version to 318
Build 211 can build most things, but I've seen intermittent miscompilation and slower code. Also it comes from Xcode 4.2, so most people don't have it anyway. Let's use 218 as the minimum viable version.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb
index 0e65301d5..934c52cf2 100644
--- a/Library/Homebrew/compilers.rb
+++ b/Library/Homebrew/compilers.rb
@@ -67,7 +67,7 @@ class CompilerSelector
def priority_for(cc)
case cc
- when :clang then MacOS.clang_build_version >= 211 ? 3 : 0.5
+ when :clang then MacOS.clang_build_version >= 318 ? 3 : 0.5
when :llvm then 2
when :gcc then 1
end