summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2012-10-01 20:58:30 (GMT)
committerRobert A Iannucci Jr <iannucci@chromium.org>2012-11-09 04:25:39 (GMT)
commitd1c32c9f40e22ac1f1a8a5b4fd42fc3304b6ba78 (patch)
treeeff4235f8b8f8a822146369883fb60d027420b69
parent8775c4d1e3630230dcea202f2d1647e56a81c20f (diff)
downloadNinja-d1c32c9f40e22ac1f1a8a5b4fd42fc3304b6ba78.zip
Ninja-d1c32c9f40e22ac1f1a8a5b4fd42fc3304b6ba78.tar.gz
Ninja-d1c32c9f40e22ac1f1a8a5b4fd42fc3304b6ba78.tar.bz2
Pull graph.cc too
-rw-r--r--src/graph.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graph.cc b/src/graph.cc
index 25b5baf..3550d48 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -316,7 +316,8 @@ bool DependencyScan::LoadDepFile(Edge* edge, string* err) {
// create one; this makes us not abort if the input is missing,
// but instead will rebuild in that circumstance.
if (!node->in_edge()) {
- Edge* phony_edge = state_->AddEdge(&State::kPhonyRule);
+ Edge* phony_edge = state_->AddEdge(&State::kPhonyRule,
+ &State::kDefaultPool);
node->set_in_edge(phony_edge);
phony_edge->outputs_.push_back(node);