Change the makefiles to use -c.

This commit is contained in:
Rafael Ávila de Espíndola
2011-04-18 14:49:08 -04:00
parent 0c873993c9
commit 9ab42038bb
2 changed files with 25 additions and 30 deletions

View File

@@ -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);