compilers: support gcc 6

This commit is contained in:
Izaak Beekman 2016-04-29 12:19:35 -04:00 committed by Mike McQuaid
parent 3ff1aa9fa3
commit b0d906f0f8
3 changed files with 4 additions and 2 deletions

1
Library/ENV/4.3/g++-6 Symbolic link
View File

@ -0,0 +1 @@
cc

1
Library/ENV/4.3/gcc-6 Symbolic link
View File

@ -0,0 +1 @@
cc

View File

@ -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,