Pārlūkot izejas kodu

sinclairql: make sure the default CPU target is 68000 for the QL. also, some cleanups

git-svn-id: trunk@47360 -
Károly Balogh 4 gadi atpakaļ
vecāks
revīzija
82e16f02ca
1 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. 7 3
      compiler/options.pas

+ 7 - 3
compiler/options.pas

@@ -3402,9 +3402,8 @@ begin
     features:=features+target_unsup_features;
 
 {$if defined(atari) or defined(hasamiga)}
-   { enable vlink as default linker on Atari, Amiga, and MorphOS, but not for cross compilers (for now) }
-   if (target_info.system in [system_m68k_amiga,system_m68k_atari,
-                              system_powerpc_amiga]) and
+   { enable vlink as default linker on Atari and Amiga but not for cross compilers (for now) }
+   if (target_info.system in [system_m68k_amiga,system_m68k_atari,system_powerpc_amiga]) and
       not LinkerSetExplicitly then
      include(init_settings.globalswitches,cs_link_vlink);
 {$endif}
@@ -4509,6 +4508,11 @@ begin
             init_settings.fputype:=fpu_68881;
           end;
       end;
+    system_m68k_sinclairql:
+      begin
+        if not option.CPUSetExplicitly then
+          init_settings.cputype:=cpu_mc68000;
+      end;
     system_m68k_palmos:
       begin
         if not option.CPUSetExplicitly then