compilers: add gcc-11

Needed for https://github.com/Homebrew/homebrew-core/pull/74843.
This commit is contained in:
Carlo Cabrera 2021-05-02 00:16:52 +01:00
parent eae3558108
commit a288029cc9
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0
7 changed files with 8 additions and 2 deletions

View File

@ -3,8 +3,8 @@
# @private # @private
module CompilerConstants module CompilerConstants
GNU_GCC_VERSIONS = %w[4.9 5 6 7 8 9 10].freeze GNU_GCC_VERSIONS = %w[4.9 5 6 7 8 9 10 11].freeze
GNU_GCC_REGEXP = /^gcc-(4\.9|[5-9]|10)$/.freeze GNU_GCC_REGEXP = /^gcc-(4\.9|[5-9]|10|11)$/.freeze
COMPILER_SYMBOL_MAP = { COMPILER_SYMBOL_MAP = {
"gcc" => :gcc, "gcc" => :gcc,
"clang" => :clang, "clang" => :clang,

View File

@ -0,0 +1 @@
cc

View File

@ -0,0 +1 @@
cc

View File

@ -0,0 +1 @@
cc

View File

@ -0,0 +1 @@
cc

View File

@ -0,0 +1 @@
cc

View File

@ -0,0 +1 @@
cc