소스 검색

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';
   {$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}