Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
9ce4184dd9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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