Browse Source

* Fix default OS target for i386 and sparc processor on solaris OS

git-svn-id: trunk@33010 -
pierre 9 years ago
parent
commit
f9011289b5
1 changed files with 10 additions and 0 deletions
  1. 10 0
      compiler/systems.pas

+ 10 - 0
compiler/systems.pas

@@ -782,6 +782,10 @@ begin
     {$define default_target_set}
     {$define default_target_set}
     default_target(system_i386_android);
     default_target(system_i386_android);
    {$endif}
    {$endif}
+   {$ifdef solaris}
+    {$define default_target_set}
+    default_target(system_i386_solaris);
+   {$endif}
   {$endif cpui386}
   {$endif cpui386}
   { default is linux }
   { default is linux }
   {$ifndef default_target_set}
   {$ifndef default_target_set}
@@ -892,7 +896,13 @@ begin
   {$ifdef cpusparc}
   {$ifdef cpusparc}
     default_target(source_info.system);
     default_target(source_info.system);
   {$else cpusparc}
   {$else cpusparc}
+   {$ifdef solaris}
+    {$define default_target_set}
+    default_target(system_sparc_solaris);
+   {$endif}
+    {$ifndef default_target_set}
     default_target(system_sparc_linux);
     default_target(system_sparc_linux);
+    {$endif ndef default_target_set}
   {$endif cpusparc}
   {$endif cpusparc}
 {$endif sparc}
 {$endif sparc}