From ce35e121baea7d15dfb17fc6e409e005949c6ca5 Mon Sep 17 00:00:00 2001 From: joost Date: Sat, 14 May 2011 10:55:26 +0000 Subject: [PATCH] * Reverted r17386 because object file is used for debugging on Darwin, bug #19322 git-svn-id: trunk@17451 - --- compiler/pmodules.pas | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/pmodules.pas b/compiler/pmodules.pas index e2d84fdb52..3f9cb27730 100644 --- a/compiler/pmodules.pas +++ b/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;