aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-09-10 08:17:28 -0700
committerMisty De Meo2013-09-10 08:17:28 -0700
commit5863f8af89bfd64582c5ca1198622c864e875c20 (patch)
tree946c9a24ec955c91aa89bb79b1184d31810d7fee /Library/Homebrew/compilers.rb
parent3016114e258cd4ec10ea372ec2dbe684dae4586b (diff)
downloadhomebrew-5863f8af89bfd64582c5ca1198622c864e875c20.tar.bz2
Compiler priority: fix llvm-gcc priority
llvm-gcc should still get priority over non-Apple GCCs. Fixes #22424.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb4
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