浏览代码

Also respect the supplied version suffix when printing the compiler path name using -PB. Fixes Mantis #25791

* compiler/utils/fpc.pp:
    also apply the versionstr suffix to ppcbin if versionstr is set like is done when really executing the compiler

git-svn-id: trunk@26887 -
svenbarth 11 年之前
父节点
当前提交
47b4a52c8f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/utils/fpc.pp

+ 2 - 0
compiler/utils/fpc.pp

@@ -188,6 +188,8 @@ program fpc;
                    if processorstr='B' then
                    if processorstr='B' then
                      begin
                      begin
                        { report the full name of the ppcbin }
                        { report the full name of the ppcbin }
+                       if versionstr<>'' then
+                         ppcbin:=ppcbin+'-'+versionstr;
                        findexe(ppcbin);
                        findexe(ppcbin);
                        writeln(ppcbin);
                        writeln(ppcbin);
                        halt(0);
                        halt(0);