summaryrefslogtreecommitdiffstats
path: root/src/build.cc
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-03-08 23:39:55 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2019-11-20 20:59:48 (GMT)
commit1daa7470ab7ed147726b560d0bc55327fff3482f (patch)
treee91e5d79f2c003c3f73b8f8c7619399cdfcc8e53 /src/build.cc
parente2433c11d00725913d0b76350f4d35ba749e3f47 (diff)
downloadNinja-1daa7470ab7ed147726b560d0bc55327fff3482f.zip
Ninja-1daa7470ab7ed147726b560d0bc55327fff3482f.tar.gz
Ninja-1daa7470ab7ed147726b560d0bc55327fff3482f.tar.bz2
depfile_parser: remove restriction on multiple outputs
Diffstat (limited to 'src/build.cc')
-rw-r--r--src/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.cc b/src/build.cc
index fe8daca..ced7110 100644
--- a/src/build.cc
+++ b/src/build.cc
@@ -1033,7 +1033,7 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
}
if (!deps_type.empty() && !config_.dry_run) {
- assert(edge->outputs_.size() == 1 && "should have been rejected by parser");
+ assert(edge->outputs_.size() >= 1 && "should have been rejected by parser");
for (std::vector<Node*>::const_iterator o = edge->outputs_.begin();
o != edge->outputs_.end(); ++o) {
TimeStamp deps_mtime = disk_interface_->Stat((*o)->path(), err);