From 1ae23fd19a7f15ece3623e3fa23f882755d5c5be Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sat, 8 Jan 2011 15:15:55 -0800 Subject: [PATCH] don't get stuck on phony edges --- src/build.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/build.cc b/src/build.cc index 2eb08cb..50c7eef 100644 --- a/src/build.cc +++ b/src/build.cc @@ -318,6 +318,9 @@ bool Builder::Build(string* err) { FinishEdge(edge); } + if (!plan_.more_to_do()) + break; + bool success; if (Edge* edge = command_runner_->NextFinishedCommand(&success)) { if (!success) { -- 2.7.4