palmos: turned off large object generation for palmos, fixed linking by skipping the unnecessary obj-res stage

git-svn-id: trunk@37894 -
This commit is contained in:
Károly Balogh 2018-01-04 07:36:10 +00:00
parent b8474bab0d
commit ae1b005b1a
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,8 @@ unit i_palmos;
system : system_m68k_PalmOS;
name : 'PalmOS';
shortname : 'PalmOS';
flags : [tf_under_development,tf_code_small,tf_static_reg_based,tf_smartlink_library,tf_requires_proper_alignment];
flags : [tf_under_development,tf_code_small,tf_static_reg_based,tf_requires_proper_alignment,
tf_smartlink_library,tf_no_objectfiles_when_smartlinking];
cpu : cpu_m68k;
unit_env : 'PALMUNITS';
extradefines : '';

View File

@ -71,8 +71,7 @@ begin
{ This is based on my successful experiment with prc-tools remix.
Anyone who has more insight into this Palm magic, feel free to fix. (KB) }
ExeCmd[1]:='ld $OPT $STRIP --no-check-sections -N -dy -o $EXE $RES';
ExeCmd[2]:='obj-res $EXE';
ExeCmd[3]:='build-prc $EXE.prc "$APPNAME" $APPID $EXE *.$EXE.grc';
ExeCmd[2]:='build-prc $EXE.prc "$APPNAME" $APPID $EXE';
end;
end;