mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 19:29:39 +02:00
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 -
This commit is contained in:
parent
46f8e78d1f
commit
47b4a52c8f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user