Hopefully sensible command switch handling. Changed default ext to .o on Windows.

This commit is contained in:
Christian Kamm
2008-10-16 22:07:02 +02:00
parent 8f14246bef
commit 6c532ac149
4 changed files with 71 additions and 53 deletions

View File

@@ -252,8 +252,6 @@ void Module::genobjfile(int multiobj, char** envp)
// call gcc to convert assembly to object file
if (global.params.output_o) {
LLPath objpath = LLPath(objfile->name->toChars());
objpath.eraseSuffix();
objpath.appendSuffix(std::string(global.obj_ext));
assemble(spath, objpath, envp);
}