Skip to content
Snippets Groups Projects
Commit 0845341d authored by Misty De Meo's avatar Misty De Meo
Browse files

cc: delegate cpp to the real tool, not compiler

Fixes Homebrew/homebrew#21527.
parent f274ad32
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ class Cmd
def tool
@tool ||= case @arg0
when 'ld' then 'ld'
when 'cc', 'c99', 'c89', 'cpp'
when 'cpp' then 'cpp'
when 'cc', 'c99', 'c89'
# Ideally we would run `cx9`, however these tools are POSIX compliant
# and don't support many flags. We need -isystem for instance, but also
# reliability is generally much higher if we just get clang/gcc to do
......
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