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

This commit is contained in:
florian 2022-07-21 23:18:41 +02:00
parent 6915cd9b26
commit 2da28054d4

View File

@ -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;