Browse Source

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 -
pierre 10 years ago
parent
commit
cfed3e2075
1 changed files with 5 additions and 0 deletions
  1. 5 0
      ide/fpconst.pas

+ 5 - 0
ide/fpconst.pas

@@ -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}