diff options
| -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) |
