Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
cfed3e2075
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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}