Explorar el Código

Assume link native for AIX compiled binary

git-svn-id: trunk@29046 -
pierre hace 10 años
padre
commit
d9d5fd0647
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      compiler/options.pas

+ 3 - 0
compiler/options.pas

@@ -136,6 +136,9 @@ begin
   undef_system_macro('FPC_LINK_DYNAMIC');
   undef_system_macro('FPC_LINK_DYNAMIC');
   init_settings.globalswitches:=init_settings.globalswitches+[cs_link_static];
   init_settings.globalswitches:=init_settings.globalswitches+[cs_link_static];
   init_settings.globalswitches:=init_settings.globalswitches-[cs_link_shared,cs_link_smart];
   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;
 end;