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 | 0845341de357010dbe46f01e0bc59f4acd668c7f (patch) | |
| tree | 008c7af4d6e4b1bc8e9b6f251f6f6b4a4ca1d7d6 /Library/ENV | |
| parent | f274ad32504b9b04ea0cf041f375f3f11c9949fb (diff) | |
| download | brew-0845341de357010dbe46f01e0bc59f4acd668c7f.tar.bz2 | |
cc: delegate cpp to the real tool, not compiler
Fixes Homebrew/homebrew#21527.
Diffstat (limited to 'Library/ENV')
| -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 |
