Procházet zdrojové kódy

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 před 11 roky
rodič
revize
47b4a52c8f
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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);