Ver Fonte

Merged revisions 2812 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r2812 | jonas | 2006-03-08 22:32:19 +0100 (Wed, 08 Mar 2006) | 2 lines

* fixed ppc "make cycle" on Mac OS X/x86

........

git-svn-id: branches/fixes_2_0@2828 -

Jonas Maebe há 19 anos atrás
pai
commit
b33653fffa
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      compiler/systems/t_bsd.pas

+ 6 - 0
compiler/systems/t_bsd.pas

@@ -383,6 +383,12 @@ begin
   { Open link.res file }
   LinkRes:=TLinkRes.Create(outputexedir+Info.ResName);
 
+  case target_info.system of
+    system_powerpc_darwin:
+      LinkRes.Add('-arch ppc');
+    system_i386_darwin:
+      LinkRes.Add('-arch i386');
+  end;
   { Write path to search libraries }
   HPath:=TStringListItem(current_module.locallibrarysearchpath.First);
   while assigned(HPath) do