From 21e604c1ea980d46f057627f11f5cd813e32c35b Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Wed, 15 Feb 2006 11:00:09 +0000 Subject: [PATCH] + add "-arch ppc" to the assembler call to fix assembling when running on x86 git-svn-id: trunk@2590 - --- compiler/powerpc/agppcgas.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/powerpc/agppcgas.pas b/compiler/powerpc/agppcgas.pas index 417187fde0..860714690c 100644 --- a/compiler/powerpc/agppcgas.pas +++ b/compiler/powerpc/agppcgas.pas @@ -83,13 +83,13 @@ unit agppcgas; ); - as_ppc_gas_darwin_info : tasminfo = + as_ppc_gas_darwin_powerpc_info : tasminfo = ( id : as_darwin; idtxt : 'AS-Darwin'; asmbin : 'as'; - asmcmd : '-o $OBJ $ASM'; + asmcmd : '-o $OBJ $ASM -arch ppc'; supported_target : system_any; flags : [af_allowdirect,af_needar,af_smartlink_sections,af_supports_dwarf]; labelprefix : 'L'; @@ -381,5 +381,5 @@ unit agppcgas; begin RegisterAssembler(as_ppc_gas_info,TPPCGNUAssembler); - RegisterAssembler(as_ppc_gas_darwin_info,TPPCGNUAssembler); + RegisterAssembler(as_ppc_gas_darwin_powerpc_info,TPPCGNUAssembler); end.