diff options
Diffstat (limited to 'Library/Homebrew/compilers.rb')
| -rw-r--r-- | Library/Homebrew/compilers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index eaaf041b5..4742dcfb5 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -149,10 +149,10 @@ class CompilerSelector so that we can update the formula accordingly. Thanks! EOS - viable = @compilers.reject { |cc| @f.fails_with? cc } + viable = @compilers.reject { |c| @f.fails_with? c } unless viable.empty? warning += "\nIf it fails you can use " - options = viable.map { |cc| "--use-#{cc.name}" } + options = viable.map { |c| "--use-#{c.name}" } warning += "#{options*' or '} to try a different compiler." end |
