mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-12 14:59:03 +02:00
Hopefully sensible command switch handling. Changed default ext to .o on Windows.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user