浏览代码

* Reverted r17386 because object file is used for debugging on Darwin, bug #19322

git-svn-id: trunk@17451 -
joost 14 年之前
父节点
当前提交
ce35e121ba
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      compiler/pmodules.pas

+ 0 - 3
compiler/pmodules.pas

@@ -2422,9 +2422,6 @@ implementation
                  else
                    linker.MakeExecutable;
 
-                 { Delete main module object file }
-                 if not(cs_link_nolink in current_settings.globalswitches) then
-                   DeleteFile(pshortstring2pchar(main_module.objfilename));
                  { collect all necessary information for whole-program optimization }
                  wpoinfomanager.extractwpoinfofromprogram;
                end;