* unfortunately tf_smartlink_sections is mutually exclusive with

tf_smartlink_library, and defining both breaks sdasz80, so put this behind
  ifdef Z80_SMARTLINK_SECTIONS

git-svn-id: trunk@45153 -
This commit is contained in:
nickysn 2020-04-28 15:14:39 +00:00
parent 23fc0fe66a
commit 573d69c8fe

View File

@ -33,9 +33,14 @@ unit i_zxspectrum;
system : system_z80_zxspectrum;
name : 'ZX Spectrum';
shortname : 'zxspectrum';
flags : [tf_needs_symbol_size,tf_files_case_sensitive,
tf_smartlink_library,tf_smartlink_sections,
tf_no_objectfiles_when_smartlinking];
flags : [
{$ifdef Z80_SMARTLINK_SECTIONS}
tf_smartlink_sections,
{$else Z80_SMARTLINK_SECTIONS}
tf_smartlink_library,
tf_no_objectfiles_when_smartlinking,
{$endif Z80_SMARTLINK_SECTIONS}
tf_needs_symbol_size,tf_files_case_sensitive];
cpu : cpu_z80;
unit_env : '';
extradefines : '';