From 819b210263fa8ddcde2a8d839274b6a00f62410a Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Mon, 30 Apr 2018 17:03:11 +0200 Subject: [PATCH] Support GCC 8 --- Library/Homebrew/compilers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 36e50a1771..2f80fafe23 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 7].freeze - GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-7])$/ + GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7 8].freeze + GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-8])$/ COMPILER_SYMBOL_MAP = { "gcc-4.0" => :gcc_4_0, "gcc-4.2" => :gcc_4_2,