From ba75e87f25e6355a12377c1d2311568e68fa7739 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Tue, 17 May 2011 16:36:30 -0700 Subject: [PATCH] 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. --- src/graph.cc | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.7.4