浏览代码

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 年之前
父节点
当前提交
cfed3e2075
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      ide/fpconst.pas

+ 5 - 0
ide/fpconst.pas

@@ -49,6 +49,11 @@ const
      FPBaseName = 'fpi386';
      FPBaseName = 'fpi386';
   {$endif cpu68k}
   {$endif cpu68k}
 {$endif i386}
 {$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}
 {$ifndef USE_SPECIAL_BASENAME}
      FPBaseName = 'fp';
      FPBaseName = 'fp';
 {$endif not USE_SPECIAL_BASENAME}
 {$endif not USE_SPECIAL_BASENAME}