Explorar o código

* properly set default source system for darwin cross compilations

git-svn-id: trunk@4596 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
8fbc58e1c9
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      compiler/systems.pas

+ 8 - 0
compiler/systems.pas

@@ -746,6 +746,9 @@ begin
    {$ifdef freebsd}
     default_target(system_i386_freebsd);
    {$endif}
+   {$ifdef darwin}
+    default_target(system_i386_darwin);
+   {$endif}
   {$endif cpu86}
 {$endif i386}
 
@@ -791,7 +794,12 @@ begin
   {$ifdef cpupowerpc}
     default_target(source_info.system);
   {$else cpupowerpc}
+   {$ifdef linux}
     default_target(system_powerpc_linux);
+   {$endif}
+   {$ifdef darwin}
+    default_target(system_powerpc_darwin);
+   {$endif}
   {$endif cpupowerpc}
 {$endif powerpc}
 {$ifdef POWERPC64}