浏览代码

atari: enable vlink for native builds as default

git-svn-id: trunk@35222 -
Károly Balogh 8 年之前
父节点
当前提交
d8f7fd008e
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      compiler/options.pas

+ 4 - 3
compiler/options.pas

@@ -3080,9 +3080,10 @@ begin
   else
   else
     features:=features+target_unsup_features;
     features:=features+target_unsup_features;
 
 
-{$ifdef hasamiga}
-   { enable vlink as default linker on Amiga/MorphOS, but not for cross compilers (for now) }
-   if target_info.system in [system_m68k_amiga,system_powerpc_amiga,system_powerpc_morphos] then
+{$if defined(atari) or defined(hasamiga)}
+   { enable vlink as default linker on Atari, Amiga, and MorphOS, but not for cross compilers (for now) }
+   if target_info.system in [system_m68k_amiga,system_m68k_atari,
+                             system_powerpc_amiga,system_powerpc_morphos] then
      include(init_settings.globalswitches,cs_link_vlink);
      include(init_settings.globalswitches,cs_link_vlink);
 {$endif}
 {$endif}
 end;
 end;