diff options
| author | Misty De Meo | 2013-07-30 18:39:54 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-07-30 18:41:27 -0700 |
| commit | aca99ae0d735aad3cd2a5472b0b2eb31f879d8e8 (patch) | |
| tree | 0b371e887e6bada36f36efea3a655e5cc0e0c3a8 | |
| parent | f54c401fc485e2443c4779f057ded33fcf3618c9 (diff) | |
| download | homebrew-aca99ae0d735aad3cd2a5472b0b2eb31f879d8e8.tar.bz2 | |
cc: delegate cpp to the real tool, not compiler
Fixes #21527.
| -rwxr-xr-x | Library/ENV/4.3/cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 5935cb581..fcba40263 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -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 |
