From 55004d81b6f9e5b56e944b629444cebc3a9cccb4 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 10 Sep 2013 08:17:28 -0700 Subject: Compiler priority: fix llvm-gcc priority llvm-gcc should still get priority over non-Apple GCCs. Fixes Homebrew/homebrew#22424. --- Library/Homebrew/compilers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 8eb6d56fb..6f5b570b0 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -84,8 +84,8 @@ class CompilerSelector def priority_for(cc) case cc when :clang then MacOS.clang_build_version >= 318 ? 3 : 0.5 - when :gcc then 2 - when :llvm then 1 + when :gcc then 2.5 + when :llvm then 2 when :gcc_4_0 then 0.25 # non-Apple gcc compilers else 1.5 -- cgit v1.2.3