Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}.

This commit is contained in:
Matti Niemenmaa
2010-03-09 23:20:39 +02:00
parent 68daadf53c
commit 7edb3d1875
3 changed files with 5 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ struct Module : Package
#if IN_LLVM
// LDC
llvm::Module* genLLVMModule(llvm::LLVMContext& context, Ir* sir);
void buildTargetFiles();
void buildTargetFiles(bool singleObj);
File* buildFilePath(const char* forcename, const char* path, const char* ext);
Module *isModule() { return this; }