diff options
Diffstat (limited to 'Library/Homebrew/compilers.rb')
| -rw-r--r-- | Library/Homebrew/compilers.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index ab710a6d0..6ac1809f6 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -33,7 +33,7 @@ class CompilerFailure    def self.create(spec, &block)      # Non-Apple compilers are in the format fails_with compiler => version      if spec.is_a?(Hash) -      _, major_version = spec.first +      major_version = spec.first[1]        name = "gcc-#{major_version}"        # so fails_with :gcc => '4.8' simply marks all 4.8 releases incompatible        version = "#{major_version}.999" | 
