aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-10-27 19:39:53 -0400
committerMax Howell2012-10-28 10:52:06 -0400
commita967f5c82afe21ec208d7a0a9dd50a06632388bd (patch)
treeb2bc4c7238ad9f965c0b4c28d06e3543c33d866a /Library
parent73b3977ab4b516d20912fc50f36477dc59b6c28e (diff)
downloadbrew-a967f5c82afe21ec208d7a0a9dd50a06632388bd.tar.bz2
Use cc -E, not cpp -E. Fixes Homebrew/homebrew#15402.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 840ffc94b..fa620cc09 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -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