Also pass -gcc-tool-args when building a shared object.
llvm-svn: 66746
This commit is contained in:
parent
83e9e91479
commit
690b635aa6
|
@ -672,6 +672,9 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
|
||||||
|
|
||||||
GCCArgs.push_back(GCCPath.c_str());
|
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
|
// Compile the C/asm file into a shared object
|
||||||
GCCArgs.push_back("-x");
|
GCCArgs.push_back("-x");
|
||||||
|
|
Loading…
Reference in New Issue