This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Use cc -E, not cpp -E. Fixes #15402.

  • Loading branch information...
1 parent 668fa4b commit 0c9388938f8223cd40680252930eb30845b49a6a @mxcl mxcl committed Oct 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Library/ENV/4.3/cc
View
@@ -53,7 +53,7 @@ class Cmd
def tool
@tool ||= case @arg0
when 'ld' then 'ld'
- when 'cc', 'c99', 'c89'
+ when 'cc', 'c99', 'c89', 'cpp'
# 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 comments on commit 0c93889

Please sign in to comment.