git-svn-id: trunk@8175 -
@@ -366,7 +366,8 @@ begin
if (not isdll) then
begin
- LinkRes.Add('-arch');
+ if target_info.system in [system_powerpc_darwin,system_i386_darwin,system_powerpc64_darwin,system_x86_64_darwin] Then
+ LinkRes.Add('-arch');
case target_info.system of
system_powerpc_darwin:
LinkRes.Add('ppc');