Browse Source

* increase support for multilib binutils for RISC V by passing the correct ABI to the linker

git-svn-id: trunk@43789 -
svenbarth 6 năm trước cách đây
mục cha
commit
4ad7d552a1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compiler/systems/t_linux.pas

+ 2 - 2
compiler/systems/t_linux.pas

@@ -351,8 +351,8 @@ const
                    platform_select='-EB';
   {$endif}
 {$endif}
-{$ifdef riscv32}   platform_select='';{$endif} {unknown :( }
-{$ifdef riscv64}   platform_select='';{$endif} {unknown :( }
+{$ifdef riscv32}   platform_select='-m elf32lriscv';{$endif}
+{$ifdef riscv64}   platform_select='-m elf64lriscv';{$endif}
 
 var
   platformopt: string;