mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 11:39:39 +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}
|
{$endif sparc64}
|
||||||
{$ifdef riscv32}
|
{$ifdef riscv32}
|
||||||
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/riscv32-linux-gnu',true);
|
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/riscv32-linux-gnu',true);
|
||||||
|
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib/riscv32-linux-gnu',true);
|
||||||
{$endif riscv32}
|
{$endif riscv32}
|
||||||
{$ifdef riscv64}
|
{$ifdef riscv64}
|
||||||
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/riscv64-linux-gnu',true);
|
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/riscv64-linux-gnu',true);
|
||||||
|
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib/riscv64-linux-gnu',true);
|
||||||
{$endif riscv64}
|
{$endif riscv64}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user