From d19eaab7c643b279296f1ad60096975d20b7876b Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Fri, 4 Dec 2009 20:29:05 +0000 Subject: [PATCH] * 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 - --- compiler/systems/t_bsd.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/systems/t_bsd.pas b/compiler/systems/t_bsd.pas index 6c0a7bc5be..3f81ab5116 100644 --- a/compiler/systems/t_bsd.pas +++ b/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;