From d8f7fd008e96a86ebfd1d0e5b6913e1b996dc06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= <karoly@freepascal.org> Date: Tue, 3 Jan 2017 13:58:49 +0000 Subject: [PATCH] atari: enable vlink for native builds as default git-svn-id: trunk@35222 - --- compiler/options.pas | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/options.pas b/compiler/options.pas index 94b25741cd..8f8ea9ed89 100644 --- a/compiler/options.pas +++ b/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;