Merge pull request #955 from aw1621107/allow-gcc-HEAD

Teach brew to recognize gcc-HEAD as valid compiler
This commit is contained in:
Mike McQuaid 2016-09-14 20:50:57 +01:00 committed by GitHub
commit 985e772278

View File

@ -1,7 +1,7 @@
# @private # @private
module CompilerConstants module CompilerConstants
GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.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-6])$/ GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-7])$/
COMPILER_SYMBOL_MAP = { COMPILER_SYMBOL_MAP = {
"gcc-4.0" => :gcc_4_0, "gcc-4.0" => :gcc_4_0,
"gcc-4.2" => :gcc, "gcc-4.2" => :gcc,