From a967f5c82afe21ec208d7a0a9dd50a06632388bd Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 27 Oct 2012 19:39:53 -0400 Subject: [PATCH] Use cc -E, not cpp -E. Fixes Homebrew/homebrew#15402. --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 840ffc94bd..fa620cc09a 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