Minor style fixes from review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2006-11-11 19:59:25 +00:00
parent a94a203f34
commit 2803b4cc58
3 changed files with 8 additions and 7 deletions

View File

@@ -326,10 +326,10 @@ static int GenerateNative(const std::string &OutputFilename,
for (unsigned index = 0; index < LinkItems.size(); index++)
if (LinkItems[index].first != "crtend") {
if (LinkItems[index].second) {
std::string lib_name = "-l" + LinkItems[index].first;
args.push_back(lib_name.c_str());
std::string lib_name = "-l" + LinkItems[index].first;
args.push_back(lib_name.c_str());
} else
args.push_back(LinkItems[index].first.c_str());
args.push_back(LinkItems[index].first.c_str());
}
args.push_back(0);