Bläddra i källkod

* 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 -

nickysn 5 år sedan
förälder
incheckning
573d69c8fe
1 ändrade filer med 8 tillägg och 3 borttagningar
  1. 8 3
      compiler/systems/i_zxspectrum.pas

+ 8 - 3
compiler/systems/i_zxspectrum.pas

@@ -33,9 +33,14 @@ unit i_zxspectrum;
             system       : system_z80_zxspectrum;
             system       : system_z80_zxspectrum;
             name         : 'ZX Spectrum';
             name         : 'ZX Spectrum';
             shortname    : 'zxspectrum';
             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;
             cpu          : cpu_z80;
             unit_env     : '';
             unit_env     : '';
             extradefines : '';
             extradefines : '';