Procházet zdrojové kódy

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

florian před 3 roky
rodič
revize
2da28054d4
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;