aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-14 20:50:57 +0100
committerGitHub2016-09-14 20:50:57 +0100
commit985e772278da3cf84ea998d97695e3c17b984775 (patch)
treeca4a96b3acf59b2c01274d17e19adb3d6c426a92 /Library
parent54884cd9ce973527a8a51ea5008ec17cfc8e7847 (diff)
parent4cec6f5dd0aed2ece19b5d3e755d7da7d4178b13 (diff)
downloadbrew-985e772278da3cf84ea998d97695e3c17b984775.tar.bz2
Merge pull request #955 from aw1621107/allow-gcc-HEAD
Teach brew to recognize gcc-HEAD as valid compiler
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/compilers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb
index 51f0919e5..b8bc708fa 100644
--- a/Library/Homebrew/compilers.rb
+++ b/Library/Homebrew/compilers.rb
@@ -1,7 +1,7 @@
# @private
module CompilerConstants
- GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6]
- GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-6])$/
+ GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7]
+ GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-7])$/
COMPILER_SYMBOL_MAP = {
"gcc-4.0" => :gcc_4_0,
"gcc-4.2" => :gcc,