mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:49:09 +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
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
{ default is glibc 2.1+ compatible }
|
{ when no dyn. linker is found, we are probably
|
||||||
DynamicLinker:='/lib/ld-linux.so.2';
|
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;
|
libctype:=glibc21;
|
||||||
|
{$else i386}
|
||||||
|
libctype:=glibc2;
|
||||||
|
{$endif i386}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user