diff options
author | Devang Patel <dpatel@apple.com> | 2008-11-04 23:13:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-11-04 23:13:50 +0000 |
commit | f75e78900cec3500c01938f0a89bf5a3f7ae8dca (patch) | |
tree | 9ecc1eca8e7e4d8cbf2d70783d25e47ecb4af9ea | |
parent | 641397f2ef0a155159e1085bf594c1535485e3a3 (diff) |
On darwin, 32-bit x86 target is i386-apple-darwin...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58731 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index c035be9987..0474a88839 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -224,7 +224,7 @@ bool LTOCodeGenerator::assemble(const std::string& asmPath, std::string targetTriple = _linker.getModule()->getTargetTriple(); args.push_back(gcc.c_str()); if ( targetTriple.find("darwin") != targetTriple.size() ) { - if (strncmp(targetTriple.c_str(), "i686-apple-", 11) == 0) { + if (strncmp(targetTriple.c_str(), "i386-apple-", 11) == 0) { args.push_back("-arch"); args.push_back("i386"); } |