diff options
| author | Mike McQuaid | 2016-04-25 18:01:03 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2016-05-08 16:51:22 +0100 | 
| commit | e316cc9296079a212a72ab89c0c11e894b546ef9 (patch) | |
| tree | 241c717bb4f20e5a999c1fa0ad97a794080fe9cc /Library/Homebrew/compilers.rb | |
| parent | 8d995e961f549e555f405d2567235dab53f6baad (diff) | |
| download | brew-e316cc9296079a212a72ab89c0c11e894b546ef9.tar.bz2 | |
Make development tools code cross-platform.
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 a04f75f6d..896b8f363 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -89,11 +89,11 @@ class CompilerSelector    }    def self.select_for(formula, compilers = self.compilers) -    new(formula, MacOS, compilers).compiler +    new(formula, DevelopmentTools, compilers).compiler    end    def self.compilers -    COMPILER_PRIORITY.fetch(MacOS.default_compiler) +    COMPILER_PRIORITY.fetch(DevelopmentTools.default_compiler)    end    attr_reader :formula, :failures, :versions, :compilers  | 
