forked from OSchip/llvm-project
Dependency should be on the output file name, not the dependency file
name. llvm-svn: 139220
This commit is contained in:
parent
f9bd0f5d99
commit
3d76f312b2
|
@ -242,7 +242,7 @@ int main(int argc, char **argv) {
|
||||||
<< ":" << Error << "\n";
|
<< ":" << Error << "\n";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
DepOut.os() << DependFilename << ":";
|
DepOut.os() << OutputFilename << ":";
|
||||||
const std::vector<std::string> &Dependencies = Parser.getDependencies();
|
const std::vector<std::string> &Dependencies = Parser.getDependencies();
|
||||||
for (std::vector<std::string>::const_iterator I = Dependencies.begin(),
|
for (std::vector<std::string>::const_iterator I = Dependencies.begin(),
|
||||||
E = Dependencies.end();
|
E = Dependencies.end();
|
||||||
|
|
Loading…
Reference in New Issue