Change the makefiles to use -c.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user