Use -c in the Makefiles.
This commit is contained in:
parent
c1335510d5
commit
fac8cc3b06
2 changed files with 29 additions and 34 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