diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index fb3dd3e4e6..b4b70c99d2 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true module CompilerConstants - GNU_GCC_VERSIONS = %w[7 8 9 10 11 12 13 14].freeze + GNU_GCC_VERSIONS = %w[7 8 9 10 11 12 13 14 15].freeze GNU_GCC_REGEXP = /^gcc-(#{GNU_GCC_VERSIONS.join("|")})$/ COMPILER_SYMBOL_MAP = { "gcc" => :gcc, diff --git a/Library/Homebrew/shims/linux/super/g++-15 b/Library/Homebrew/shims/linux/super/g++-15 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/linux/super/g++-15 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/linux/super/gcc-15 b/Library/Homebrew/shims/linux/super/gcc-15 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/linux/super/gcc-15 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/mac/super/g++-15 b/Library/Homebrew/shims/mac/super/g++-15 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/mac/super/g++-15 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/mac/super/gcc-15 b/Library/Homebrew/shims/mac/super/gcc-15 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/mac/super/gcc-15 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/super/g++-15 b/Library/Homebrew/shims/super/g++-15 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/super/g++-15 @@ -0,0 +1 @@ +cc \ No newline at end of file diff --git a/Library/Homebrew/shims/super/gcc-15 b/Library/Homebrew/shims/super/gcc-15 new file mode 120000 index 0000000000..2652f5f42c --- /dev/null +++ b/Library/Homebrew/shims/super/gcc-15 @@ -0,0 +1 @@ +cc \ No newline at end of file