diff options
author | Evan Martin <martine@danga.com> | 2011-05-17 23:36:30 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-17 23:36:30 (GMT) |
commit | ba75e87f25e6355a12377c1d2311568e68fa7739 (patch) | |
tree | f11c26f27b56d7495be5399ffa48428985728d0f /src/graph.cc | |
parent | b4bebb7ead0461529c9ff26cbb3db6b77a2643be (diff) | |
download | Ninja-ba75e87f25e6355a12377c1d2311568e68fa7739.zip Ninja-ba75e87f25e6355a12377c1d2311568e68fa7739.tar.gz Ninja-ba75e87f25e6355a12377c1d2311568e68fa7739.tar.bz2 |
make the phony depfile edge order-only
I'm not sure this is semantically different but it's consistent with
how I think about these phony edges.
Diffstat (limited to 'src/graph.cc')
-rw-r--r-- | src/graph.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph.cc b/src/graph.cc index cb51618..8abaa2a 100644 --- a/src/graph.cc +++ b/src/graph.cc @@ -169,6 +169,7 @@ bool Edge::LoadDepFile(State* state, DiskInterface* disk_interface, // but instead will rebuild in that circumstance. if (!node->in_edge_) { Edge* phony_edge = state->AddEdge(&State::kPhonyRule); + phony_edge->order_only_deps_ = 1; node->in_edge_ = phony_edge; phony_edge->outputs_.push_back(node); } |