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

* 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 жил өмнө
parent
commit
d19eaab7c6

+ 3 - 1
compiler/systems/t_bsd.pas

@@ -333,7 +333,9 @@ begin
             system_x86_64_darwin:
               LinkRes.Add('x86_64');
             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;