Skip to content
Snippets Groups Projects
Commit 1f1678a1 authored by Bulat Shakirzyanov's avatar Bulat Shakirzyanov Committed by Mike McQuaid
Browse files

superenv: fix versioned g++ invocations.


Closes Homebrew/homebrew#24104.

Signed-off-by: default avatarMike McQuaid <mike@mikemcquaid.com>
parent e7f20bcf
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ class Cmd ...@@ -64,7 +64,7 @@ class Cmd
@tool ||= case @arg0 @tool ||= case @arg0
when 'ld' then 'ld' when 'ld' then 'ld'
when 'cpp' then 'cpp' when 'cpp' then 'cpp'
when /\w\+\+$/ when /\w\+\+(-\d\.\d)?$/
case ENV['HOMEBREW_CC'] case ENV['HOMEBREW_CC']
when /clang/ when /clang/
'clang++' 'clang++'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment