diff gen/toobj.cpp @ 708:fd5665da3a27

Hopefully sensible command switch handling. Changed default ext to .o on Windows.
author Christian Kamm <kamm incasoftware de>
date Thu, 16 Oct 2008 22:07:02 +0200
parents 1556a9328ba1
children 30b42a283c8e
line wrap: on
line diff
--- a/gen/toobj.cpp	Wed Oct 15 20:22:18 2008 +0200
+++ b/gen/toobj.cpp	Thu Oct 16 22:07:02 2008 +0200
@@ -252,8 +252,6 @@
         // 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);
         }