mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-05 12:29:32 +01:00
* excplicitly link against libc in the unit dl, so the correct startup files are used, resolves issue #29594
git-svn-id: trunk@34366 -
This commit is contained in:
parent
f274e316fe
commit
385f13cae9
@ -31,8 +31,9 @@ const
|
|||||||
{$define ELF} // ELF symbol versioning.
|
{$define ELF} // ELF symbol versioning.
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
{$if defined(linux) and defined(cpuarm)}
|
{$if defined(linux) and (defined(cpuarm) or defined(powerpc))}
|
||||||
{ arm-linux seems to require this }
|
{ some linux targets seem to require this, if libc is not linked
|
||||||
|
the wrong start up code is used }
|
||||||
{$linklib c}
|
{$linklib c}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user