浏览代码

Always call DoExec to generate linker scripts. Even if cs_link_nolink is set, the ldgen scipt needs to be called in the generated ppas script.

ccrause 3 年之前
父节点
当前提交
793c157a9c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/systems/t_freertos.pas

+ 1 - 1
compiler/systems/t_freertos.pas

@@ -1215,7 +1215,7 @@ begin
 
 
   Replace(cmdstr,'$IDF_PATH',idfpath);
   Replace(cmdstr,'$IDF_PATH',idfpath);
   Replace(cmdstr,'$OUTPUT',outputexedir);
   Replace(cmdstr,'$OUTPUT',outputexedir);
-  if success and not(cs_link_nolink in current_settings.globalswitches) then
+  if success then
     success:=DoExec(binstr,cmdstr,true,false);
     success:=DoExec(binstr,cmdstr,true,false);
 end;
 end;
 {$endif XTENSA}
 {$endif XTENSA}