Sfoglia il codice sorgente

atari: enable vlink for native builds as default

git-svn-id: trunk@35222 -
Károly Balogh 8 anni fa
parent
commit
d8f7fd008e
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4 3
      compiler/options.pas

+ 4 - 3
compiler/options.pas

@@ -3080,9 +3080,10 @@ begin
   else
     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);
 {$endif}
 end;