Browse Source

* properly set default source system for darwin cross compilations

git-svn-id: trunk@4596 -
Jonas Maebe 19 years ago
parent
commit
8fbc58e1c9
1 changed files with 8 additions and 0 deletions
  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}