mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
Also pass -gcc-tool-args when building a shared object.
llvm-svn: 66746
This commit is contained in:
parent
d30e108f0e
commit
e4f82d3dcc
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user