浏览代码

* 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 年之前
父节点
当前提交
d19eaab7c6
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      compiler/systems/t_bsd.pas

+ 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;