OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641397f
)
On darwin, 32-bit x86 target is i386-apple-darwin...
author
Devang Patel
<dpatel@apple.com>
Tue, 4 Nov 2008 23:13:50 +0000
(23:13 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 4 Nov 2008 23:13:50 +0000
(23:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58731
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/lto/LTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/tools/lto/LTOCodeGenerator.cpp
b/tools/lto/LTOCodeGenerator.cpp
index
c035be9
..
0474a88
100644
(file)
--- 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(), "i
6
86-apple-", 11) == 0) {
+ if (strncmp(targetTriple.c_str(), "i
3
86-apple-", 11) == 0) {
args.push_back("-arch");
args.push_back("i386");
}