Browse Source

Assume link native for AIX compiled binary

git-svn-id: trunk@29046 -
pierre 10 years ago
parent
commit
d9d5fd0647
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/options.pas

+ 3 - 0
compiler/options.pas

@@ -136,6 +136,9 @@ begin
   undef_system_macro('FPC_LINK_DYNAMIC');
   init_settings.globalswitches:=init_settings.globalswitches+[cs_link_static];
   init_settings.globalswitches:=init_settings.globalswitches-[cs_link_shared,cs_link_smart];
+{$ifdef AIX}
+  init_settings.globalswitches:=init_settings.globalswitches+[cs_link_native];
+{$endif}
 end;