aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index 3e95a4dc5..878d62819 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -136,6 +136,8 @@ module SharedEnvExtension
# selector will be invoked if the formula fails with any version of clang.
# I think we can safely remove this conditional and always invoke the
# selector.
+ # The compiler priority logic in compilers.rb and default_compiler logic in
+ # os/mac.rb need to be unified somehow.
if formula.fails_with? Compiler.new(compiler)
send CompilerSelector.new(formula).compiler
end