Compiler priority: fix llvm-gcc priority
llvm-gcc should still get priority over non-Apple GCCs. Fixes Homebrew/homebrew#22424.
This commit is contained in:
parent
42faf1a860
commit
55004d81b6
@ -84,8 +84,8 @@ class CompilerSelector
|
|||||||
def priority_for(cc)
|
def priority_for(cc)
|
||||||
case cc
|
case cc
|
||||||
when :clang then MacOS.clang_build_version >= 318 ? 3 : 0.5
|
when :clang then MacOS.clang_build_version >= 318 ? 3 : 0.5
|
||||||
when :gcc then 2
|
when :gcc then 2.5
|
||||||
when :llvm then 1
|
when :llvm then 2
|
||||||
when :gcc_4_0 then 0.25
|
when :gcc_4_0 then 0.25
|
||||||
# non-Apple gcc compilers
|
# non-Apple gcc compilers
|
||||||
else 1.5
|
else 1.5
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user