Browse Source

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 -
Károly Balogh 8 years ago
parent
commit
9ce4184dd9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/systems/t_atari.pas

+ 2 - 1
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