aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
authorMisty De Meo2014-07-29 19:30:09 -0700
committerMisty De Meo2014-07-29 19:31:07 -0700
commit16d55fcc01b79946dfa7921ea04f36ce52553c7b (patch)
tree2c7e50ab87a9f42906efc24f0e0c3bacbfb1da33 /Library/Homebrew/compilers.rb
parent36913dff3253f39eb92c779bd2160a83b67a9576 (diff)
downloadhomebrew-16d55fcc01b79946dfa7921ea04f36ce52553c7b.tar.bz2
--cc=: make GNU_GCC checks stricter
Fixes #30668
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)