浏览代码

Remove abolute path for native linker, ld is in directory /usr/ccs/bin in Oracle Solaris 10 8/11

git-svn-id: trunk@39541 -
pierre 7 年之前
父节点
当前提交
29d524e7e6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/systems/t_sunos.pas

+ 2 - 2
compiler/systems/t_sunos.pas

@@ -127,12 +127,12 @@ procedure TLinkersolaris.SetDefaultInfo;
 {$ifdef x86_64}
 const
   gld = 'gld $EMUL ';
-  solaris_ld = '/usr/bin/ld -64 ';
+  solaris_ld = 'ld -64 ';
 {$endif}
 {$ifdef i386}
 const
   gld = 'gld $EMUL';
-  solaris_ld = '/usr/bin/ld ';
+  solaris_ld = 'ld ';
 {$endif }
 {$ifdef sparc}
 const