浏览代码

Add -CTsmalltoc option for powerpc64-aix compiled IDE

git-svn-id: trunk@35464 -
pierre 8 年之前
父节点
当前提交
40b76f686c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ide/fpmake.pp

+ 3 - 0
ide/fpmake.pp

@@ -207,6 +207,9 @@ begin
     if CompilerTarget = mipsel then
     if CompilerTarget = mipsel then
       P.Options.Add('-Fu../compiler/mips');
       P.Options.Add('-Fu../compiler/mips');
 
 
+    { powerpc64-aix compiled IDE needs -CTsmalltoc option }
+    if (Defaults.OS=aix) and (Defaults.CPU=powerpc64) then
+     P.Options.Add('-CTsmalltoc');
     { Handle SPECIALLINK environment variable if available }
     { Handle SPECIALLINK environment variable if available }
     s:=GetEnvironmentVariable('SPECIALLINK');
     s:=GetEnvironmentVariable('SPECIALLINK');
     if s<>'' then
     if s<>'' then