Use cc -E, not cpp -E. Fixes Homebrew/homebrew#15402.
This commit is contained in:
parent
73b3977ab4
commit
a967f5c82a
@ -53,7 +53,7 @@ class Cmd
|
|||||||
def tool
|
def tool
|
||||||
@tool ||= case @arg0
|
@tool ||= case @arg0
|
||||||
when 'ld' then 'ld'
|
when 'ld' then 'ld'
|
||||||
when 'cc', 'c99', 'c89'
|
when 'cc', 'c99', 'c89', 'cpp'
|
||||||
# Ideally we would run `cx9`, however these tools are POSIX compliant
|
# Ideally we would run `cx9`, however these tools are POSIX compliant
|
||||||
# and don't support many flags. We need -isystem for instance, but also
|
# 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
|
# reliability is generally much higher if we just get clang/gcc to do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user