Parcourir la source

* small fix for OS X related typo.

git-svn-id: trunk@8175 -
marco il y a 18 ans
Parent
commit
727b68c9b0
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      compiler/systems/t_bsd.pas

+ 2 - 1
compiler/systems/t_bsd.pas

@@ -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');