diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2015-08-25 13:37:37 -0700 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2015-08-31 19:28:46 -0700 |
| commit | dfb3096fd6b85be2dae07a33f2dd5177a4da68d6 (patch) | |
| tree | 8617815a30d12e0558b5ae53a6163f19e03e2e05 /dep.cc | |
| parent | 87417414fa9d6384f75f325fcebb18ba769caacc (diff) | |
[C++] Fix ckati with no arguments building all phony targets
Only the first rule should be built if no targets are in the arguments.
This wasn't a problem for ninja, since the target was again passed to
ninja.
Change-Id: Ia5381b89411fcc9b164c83de5faee46029897423
Diffstat (limited to 'dep.cc')
| -rw-r--r-- | dep.cc | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -143,8 +143,6 @@ class DepBuilder { CHECK(!first_rule_->outputs.empty()); targets.push_back(first_rule_->outputs[0]); - for (Symbol s : phony_) - targets.push_back(s); } // TODO: LogStats? |
