1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Dependency should be on the output file name, not the dependency file

name.

llvm-svn: 139220
This commit is contained in:
Joerg Sonnenberger 2011-09-07 02:12:03 +00:00
parent f4483238b6
commit 9fa9ed6961

View File

@ -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();