diff --git a/compiler/systems/i_palmos.pas b/compiler/systems/i_palmos.pas index 998b9f771b..d114eb7292 100644 --- a/compiler/systems/i_palmos.pas +++ b/compiler/systems/i_palmos.pas @@ -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 : ''; diff --git a/compiler/systems/t_palmos.pas b/compiler/systems/t_palmos.pas index 0034dd4358..754430784d 100644 --- a/compiler/systems/t_palmos.pas +++ b/compiler/systems/t_palmos.pas @@ -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;