Pārlūkot izejas kodu

* don't specify ARM architecture subtype to linker, because then it will
refuse linking in compiled resources (because those have a generic
cpu subtype)

git-svn-id: trunk@14330 -

Jonas Maebe 15 gadi atpakaļ
vecāks
revīzija
d19eaab7c6
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      compiler/systems/t_bsd.pas

+ 3 - 1
compiler/systems/t_bsd.pas

@@ -333,7 +333,9 @@ begin
             system_x86_64_darwin:
             system_x86_64_darwin:
               LinkRes.Add('x86_64');
               LinkRes.Add('x86_64');
             system_arm_darwin:
             system_arm_darwin:
-              LinkRes.Add(lower(cputypestr[current_settings.cputype]));
+              { don't specify architecture subtype, because then CPU_SUBTYPE_ALL
+                files, such as compiled resources, are rejected }
+              LinkRes.Add('arm');
           end;
           end;
       end;
       end;
   end;
   end;