Browse Source

* Add --64 or --32 to as call to allow i386 make cycle using -Aas on
x64_64 systems.

git-svn-id: trunk@2320 -

daniel 19 years ago
parent
commit
6b83af08ed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/x86/agx86att.pas

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