Use PPC_TARGET environment variable for SUPPORT_REMOTE enabled compilation, to allow coexistence of different cpu IDEs in same directory

git-svn-id: trunk@28917 -
This commit is contained in:
pierre 2014-10-24 21:47:37 +00:00
parent 0825f4a1a9
commit cfed3e2075

View File

@ -49,6 +49,11 @@ const
FPBaseName = 'fpi386';
{$endif cpu68k}
{$endif i386}
{$ifdef SUPPORT_REMOTE}
{$define USE_SPECIAL_BASENAME}
{ this uses PPC_TARGET env. variable from Makefile }
FPBaseName = 'fp_'+{$i %PPC_TARGET%};
{$endif SUPPORT_REMOTE}
{$ifndef USE_SPECIAL_BASENAME}
FPBaseName = 'fp';
{$endif not USE_SPECIAL_BASENAME}