Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
liangxinyan 2024-05-25 14:44:47 +08:00
parent d7d6b49f97
commit 29d4d00863

View File

@ -187,7 +187,7 @@ bool DepfileParser::Parse(string* content, string* err) {
} else {
// Check for a new output.
if (std::find(outs_.begin(), outs_.end(), piece) == outs_.end())
outs_.push_back(piece);
outs_.push_back(piece);
}
} else if (!is_dependency) {
// We've passed an input on the left side; reject new inputs.