* don't try to post-process embedded executables when linking is

disabled

git-svn-id: trunk@25851 -
This commit is contained in:
Jonas Maebe 2013-10-26 10:01:05 +00:00
parent 94d207558d
commit 40eafc3d82

View File

@ -854,7 +854,7 @@ begin
DeleteFile(outputexedir+Info.ResName); DeleteFile(outputexedir+Info.ResName);
{ Post process } { Post process }
if success then if success and not(cs_link_nolink in current_settings.globalswitches) then
success:=PostProcessExecutable(current_module.exefilename+'.elf',false); success:=PostProcessExecutable(current_module.exefilename+'.elf',false);
if success and (target_info.system in [system_arm_embedded,system_avr_embedded]) then if success and (target_info.system in [system_arm_embedded,system_avr_embedded]) then