Bläddra i källkod

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 år sedan
förälder
incheckning
47b4a52c8f
1 ändrade filer med 2 tillägg och 0 borttagningar
  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);