Przeglądaj źródła

* RiscV: pass the same default directories to the linker as on other architectures

florian 3 lat temu
rodzic
commit
2da28054d4
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      compiler/systems/t_linux.pas

+ 2 - 0
compiler/systems/t_linux.pas

@@ -202,9 +202,11 @@ begin
 {$endif sparc64}
 {$ifdef riscv32}
       LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/riscv32-linux-gnu',true);
+      LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib/riscv32-linux-gnu',true);
 {$endif riscv32}
 {$ifdef riscv64}
       LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/riscv64-linux-gnu',true);
+      LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib/riscv64-linux-gnu',true);
 {$endif riscv64}
     end;
 end;