diff options
| author | Misty De Meo | 2013-09-10 08:17:28 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-09-10 08:17:28 -0700 |
| commit | 55004d81b6f9e5b56e944b629444cebc3a9cccb4 (patch) | |
| tree | f251f4a42c2f00d31c52fe74b23d70fc2a4a22e2 /Library/Homebrew/compilers.rb | |
| parent | 42faf1a8607f9a7a55904f907f40b124ba4c51e5 (diff) | |
| download | brew-55004d81b6f9e5b56e944b629444cebc3a9cccb4.tar.bz2 | |
Compiler priority: fix llvm-gcc priority
llvm-gcc should still get priority over non-Apple GCCs.
Fixes Homebrew/homebrew#22424.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
| -rw-r--r-- | Library/Homebrew/compilers.rb | 4 |
1 files 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 |
