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

git-svn-id: trunk@2812 -
This commit is contained in:
Jonas Maebe 2006-03-08 21:32:19 +00:00
parent ab1ec76962
commit a0b62a1bc7

View File

@ -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