* set freebsd to ld.bfd

(cherry picked from commit fb7565fc6c)
This commit is contained in:
marcoonthegit 2022-06-11 17:59:33 +02:00
parent ce01ac7695
commit f1c11cea44

View File

@ -126,7 +126,7 @@ procedure TLinkerBSD.SetDefaultInfo;
var
LdProgram: string='ld';
begin
if target_info.system in (systems_openbsd+[system_x86_64_dragonfly]) then
if target_info.system in (systems_openbsd+systems_freebsd+[system_x86_64_dragonfly]) then
LdProgram:='ld.bfd';
LibrarySuffix:=' ';
LdSupportsNoResponseFile := (target_info.system in ([system_m68k_netbsd]+systems_darwin));