diff --git a/compiler/x86/agx86att.pas b/compiler/x86/agx86att.pas index ba0b7784aa..2ffe18aa7c 100644 --- a/compiler/x86/agx86att.pas +++ b/compiler/x86/agx86att.pas @@ -244,7 +244,7 @@ interface id : as_gas; idtxt : 'AS'; asmbin : 'as'; - asmcmd : '-o $OBJ $ASM'; + asmcmd : '--64 -o $OBJ $ASM'; supported_target : system_any; flags : [af_allowdirect,af_needar,af_smartlink_sections,af_supports_dwarf]; labelprefix : '.L'; @@ -256,7 +256,7 @@ interface id : as_gas; idtxt : 'AS'; asmbin : 'as'; - asmcmd : '-o $OBJ $ASM'; + asmcmd : '--32 -o $OBJ $ASM'; supported_target : system_any; flags : [af_allowdirect,af_needar,af_smartlink_sections,af_supports_dwarf]; labelprefix : '.L';