Browse Source

Use af_no_stabs for clang assembler which does not support stabs debug format

git-svn-id: trunk@38238 -
pierre 7 years ago
parent
commit
55289c13e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/x86/agx86att.pas

+ 2 - 2
compiler/x86/agx86att.pas

@@ -451,7 +451,7 @@ interface
             asmbin : 'clang';
             asmbin : 'clang';
             asmcmd : '-c -o $OBJ $EXTRAOPT -arch x86_64 $DARWINVERSION -x assembler $ASM';
             asmcmd : '-c -o $OBJ $EXTRAOPT -arch x86_64 $DARWINVERSION -x assembler $ASM';
             supported_targets : [system_x86_64_darwin,system_x86_64_iphonesim];
             supported_targets : [system_x86_64_darwin,system_x86_64_iphonesim];
-            flags : [af_needar,af_smartlink_sections,af_supports_dwarf];
+            flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_no_stabs];
             labelprefix : 'L';
             labelprefix : 'L';
             comment : '# ';
             comment : '# ';
             dollarsign: '$';
             dollarsign: '$';
@@ -525,7 +525,7 @@ interface
             asmbin : 'clang';
             asmbin : 'clang';
             asmcmd : '-c -o $OBJ $EXTRAOPT -arch i386 $DARWINVERSION -x assembler $ASM';
             asmcmd : '-c -o $OBJ $EXTRAOPT -arch i386 $DARWINVERSION -x assembler $ASM';
             supported_targets : [system_i386_darwin,system_i386_iphonesim];
             supported_targets : [system_i386_darwin,system_i386_iphonesim];
-            flags : [af_needar,af_smartlink_sections,af_supports_dwarf];
+            flags : [af_needar,af_smartlink_sections,af_supports_dwarf,af_no_stabs];
             labelprefix : 'L';
             labelprefix : 'L';
             comment : '# ';
             comment : '# ';
             dollarsign: '$';
             dollarsign: '$';