mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:09:27 +02:00
* RiscV: pass the same default directories to the linker as on other architectures
This commit is contained in:
parent
6915cd9b26
commit
2da28054d4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user