From 47b4a52c8f8890a0409eb9c441a78fdcc72acd42 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Wed, 26 Feb 2014 19:13:06 +0000 Subject: [PATCH] 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 - --- compiler/utils/fpc.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/utils/fpc.pp b/compiler/utils/fpc.pp index 654912a84c..07540fc5da 100644 --- a/compiler/utils/fpc.pp +++ b/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);