mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 12:26:00 +02:00
* more reasonable defaults when no dyn. linker is found, resolves #10431
git-svn-id: trunk@11020 -
This commit is contained in:
parent
c9433c0b1f
commit
bcbc221191
@ -210,9 +210,18 @@ begin
|
||||
end
|
||||
else
|
||||
begin
|
||||
{ default is glibc 2.1+ compatible }
|
||||
DynamicLinker:='/lib/ld-linux.so.2';
|
||||
{ when no dyn. linker is found, we are probably
|
||||
cross compiling, so use the default dyn. linker }
|
||||
DynamicLinker:=defdynlinker;
|
||||
{
|
||||
the default c startup script is gcrt0.as on all platforms
|
||||
except i386
|
||||
}
|
||||
{$ifdef i386}
|
||||
libctype:=glibc21;
|
||||
{$else i386}
|
||||
libctype:=glibc2;
|
||||
{$endif i386}
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user