diff options
| author | Misty De Meo | 2014-07-29 19:30:09 -0700 | 
|---|---|---|
| committer | Misty De Meo | 2014-07-29 19:31:07 -0700 | 
| commit | 16d55fcc01b79946dfa7921ea04f36ce52553c7b (patch) | |
| tree | 2c7e50ab87a9f42906efc24f0e0c3bacbfb1da33 /Library/Homebrew/compilers.rb | |
| parent | 36913dff3253f39eb92c779bd2160a83b67a9576 (diff) | |
| download | homebrew-16d55fcc01b79946dfa7921ea04f36ce52553c7b.tar.bz2 | |
--cc=: make GNU_GCC checks stricter
Fixes #30668
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 2d9bb908f..eb861f38a 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -1,6 +1,6 @@  module CompilerConstants    GNU_GCC_VERSIONS = 3..9 -  GNU_GCC_REGEXP = /gcc-(4\.[3-9])/ +  GNU_GCC_REGEXP = /^gcc-(4\.[3-9])$/  end  class Compiler < Struct.new(:name, :version, :priority) | 
