aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2014-09-18 15:50:54 -0500
committerJack Nagel2014-09-18 15:50:54 -0500
commit8b902c764cb39aaad41baeb229ce5f1d0a9a9bfc (patch)
tree612ada20bba6b78642810a5fcee9e45b74b29420 /Library/Homebrew/extend
parentd8245b6d58a642df5550d4d0c4b5ee46306919c0 (diff)
downloadhomebrew-8b902c764cb39aaad41baeb229ce5f1d0a9a9bfc.tar.bz2
Replace CompilerQueue with predetermined priority lists
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index 066266434..9ef512b92 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -131,7 +131,7 @@ module SharedEnvExtension
# an alternate compiler, altering the value of environment variables.
# If no valid compiler is found, raises an exception.
def validate_cc!(formula)
- send CompilerSelector.new(formula).compiler
+ send CompilerSelector.select_for(formula)
end
# Snow Leopard defines an NCURSES value the opposite of most distros