2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@2812 -
Jonas Maebe 19 жил өмнө
parent
commit
a0b62a1bc7

+ 6 - 0
compiler/systems/t_bsd.pas

@@ -390,6 +390,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