Browse Source

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

git-svn-id: trunk@43789 -
svenbarth 5 years ago
parent
commit
4ad7d552a1
1 changed files with 2 additions and 2 deletions
  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;