mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:29:23 +02:00
Fix linker commandline for m68k-atari
This commit is contained in:
parent
7afc1d4b3d
commit
113af73cb8
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user