Browse Source

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 năm trước cách đây
mục cha
commit
47b4a52c8f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      compiler/utils/fpc.pp

+ 2 - 0
compiler/utils/fpc.pp

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