Pārlūkot izejas kodu

+ default target for AArch64

git-svn-id: trunk@29896 -
Jonas Maebe 10 gadi atpakaļ
vecāks
revīzija
bee9c4185b
1 mainītis faili ar 16 papildinājumiem un 0 dzēšanām
  1. 16 0
      compiler/systems.pas

+ 16 - 0
compiler/systems.pas

@@ -932,6 +932,22 @@ begin
 {$ifdef i8086}
   default_target(system_i8086_msdos);
 {$endif i8086}
+
+{$ifdef aarch64}
+  {$ifdef cpuaarch64}
+    default_target(source_info.system);
+  {$else cpuaarch64}
+    {$ifdef darwin}
+      {$define default_target_set}
+      default_target(system_aarch64_darwin);
+    {$endif darwin}
+    {$ifndef default_target_set}
+      { change to Linux once aarch64 Linux support has been implemented }
+      default_target(system_aarch64_darwin);
+      {$define default_target_set}
+    {$endif}
+  {$endif cpuaarch64}
+{$endif aarch64}
 end;