diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-03-08 23:39:55 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2019-11-20 20:59:48 (GMT) |
commit | 1daa7470ab7ed147726b560d0bc55327fff3482f (patch) | |
tree | e91e5d79f2c003c3f73b8f8c7619399cdfcc8e53 /src/build.cc | |
parent | e2433c11d00725913d0b76350f4d35ba749e3f47 (diff) | |
download | Ninja-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.cc | 2 |
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); |