Procházet zdrojové kódy

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

git-svn-id: trunk@2320 -

daniel před 19 roky
rodič
revize
6b83af08ed
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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';