aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
authorIzaak Beekman2016-04-29 12:19:35 -0400
committerMike McQuaid2016-04-29 11:19:35 -0500
commitb0d906f0f8d90c08b0b799d5cf0fd18bf78c30da (patch)
tree124fb7309a8487bfa309dfb0522340d2ab0ae689 /Library/Homebrew/compilers.rb
parent3ff1aa9fa3cb467a8fff912e780822a788303cff (diff)
downloadbrew-b0d906f0f8d90c08b0b799d5cf0fd18bf78c30da.tar.bz2
compilers: support gcc 6
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-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 2b93f9f29..a04f75f6d 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]
- GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|5)$/
+ 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])$/
COMPILER_SYMBOL_MAP = {
"gcc-4.0" => :gcc_4_0,
"gcc-4.2" => :gcc,