From 9ce4184dd9f2b0531b77d8b6fa1a027cfee79c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Tue, 27 Dec 2016 22:22:13 +0000 Subject: [PATCH] atari: add fastload and fastram flags for TOS exes. ideally this should become a directive or some option at some point git-svn-id: trunk@35207 - --- compiler/systems/t_atari.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/systems/t_atari.pas b/compiler/systems/t_atari.pas index 25671d2db4..33b59c7e27 100644 --- a/compiler/systems/t_atari.pas +++ b/compiler/systems/t_atari.pas @@ -73,7 +73,7 @@ begin end else begin - ExeCmd[1]:='vlink -b ataritos $OPT $STRIP -o $EXE -T $RES'; + ExeCmd[1]:='vlink -b ataritos $FLAGS $OPT $STRIP -o $EXE -T $RES'; end; end; end; @@ -224,6 +224,7 @@ begin Replace(cmdstr,'$OPT',Info.ExtraOptions); Replace(cmdstr,'$EXE',maybequoted(ScriptFixFileName(current_module.exefilename))); Replace(cmdstr,'$RES',maybequoted(ScriptFixFileName(outputexedir+Info.ResName))); + Replace(cmdstr,'$FLAGS','-tos-flags fastload,fastram'); Replace(cmdstr,'$STRIP',StripStr); if rlinkpath<>'' Then DynLinkStr:='--rpath-link '+rlinkpath