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
commit04dae13ae7f014acf3a3300536546c7e12845884 (patch)
tree92a807e7a0c8d8e8d1ce47afbcb2500afc47be34 /Library/Homebrew/extend
parent288c7974dc6710738d9e92e1b0fb04e632e36d1b (diff)
downloadbrew-04dae13ae7f014acf3a3300536546c7e12845884.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