2
0
Эх сурвалжийг харах

Fix linker commandline for m68k-atari

Thorsten Otto 3 жил өмнө
parent
commit
113af73cb8

+ 2 - 2
compiler/systems/t_atari.pas

@@ -69,7 +69,7 @@ begin
    begin
    begin
     if not UseVLink then
     if not UseVLink then
      begin
      begin
-      ExeCmd[1]:='ld $DYNLINK $OPT -d -n -o $EXE $RES';
+      ExeCmd[1]:='ld $DYNLINK $OPT $STRIP $MAP -d -n -o $EXE -T $RES';
      end
      end
     else
     else
      begin
      begin
@@ -225,7 +225,7 @@ begin
   MapStr:='';
   MapStr:='';
   FlagsStr:='-tos-flags '+tostr(ataritos_exe_flags);
   FlagsStr:='-tos-flags '+tostr(ataritos_exe_flags);
 
 
-  if UseVlink and (cs_link_map in current_settings.globalswitches) then
+  if (cs_link_map in current_settings.globalswitches) then
     MapStr:='-M'+maybequoted(ScriptFixFileName(current_module.mapfilename));
     MapStr:='-M'+maybequoted(ScriptFixFileName(current_module.mapfilename));
   if (cs_link_strip in current_settings.globalswitches) then
   if (cs_link_strip in current_settings.globalswitches) then
     StripStr:='-s';
     StripStr:='-s';