Change the makefiles to use -c.
This commit is contained in:
parent
0c873993c9
commit
9ab42038bb
2 changed files with 25 additions and 30 deletions
|
|
@ -53,6 +53,7 @@ extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, LLVMModuleRef M,
|
|||
LLVMCodeGenFileType FileType) {
|
||||
InitializeAllTargets();
|
||||
InitializeAllAsmPrinters();
|
||||
InitializeAllAsmParsers();
|
||||
TargetMachine::setRelocationModel(Reloc::PIC_);
|
||||
std::string Err;
|
||||
const Target *TheTarget = TargetRegistry::lookupTarget(triple, Err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue