aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb2
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)