mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 06:08:16 +02:00
Fix linker commandline for m68k-atari
This commit is contained in:
parent
7afc1d4b3d
commit
113af73cb8
@ -69,7 +69,7 @@ begin
|
||||
begin
|
||||
if not UseVLink then
|
||||
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
|
||||
else
|
||||
begin
|
||||
@ -225,7 +225,7 @@ begin
|
||||
MapStr:='';
|
||||
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));
|
||||
if (cs_link_strip in current_settings.globalswitches) then
|
||||
StripStr:='-s';
|
||||
|
Loading…
Reference in New Issue
Block a user