projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3014376
)
Also pass -gcc-tool-args when building a shared object.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Mar 2009 00:53:34 +0000
(
00:53
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Mar 2009 00:53:34 +0000
(
00:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66746
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ToolRunner.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ToolRunner.cpp
b/tools/bugpoint/ToolRunner.cpp
index 7c669ef92e60efb41999c839364459559450a21c..7c368e097ff2396f9715f56e5389c26d68d788b8 100644
(file)
--- a/
tools/bugpoint/ToolRunner.cpp
+++ b/
tools/bugpoint/ToolRunner.cpp
@@
-671,8
+671,11
@@
int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
std::vector<const char*> GCCArgs;
GCCArgs.push_back(GCCPath.c_str());
-
-
+
+ for (std::vector<std::string>::const_iterator
+ I = gccArgs.begin(), E = gccArgs.end(); I != E; ++I)
+ GCCArgs.push_back(I->c_str());
+
// Compile the C/asm file into a shared object
GCCArgs.push_back("-x");
GCCArgs.push_back(fileType == AsmFile ? "assembler" : "c");