Browse Source

* patch by Alfred to fix building on DragonFly OS, resolves #36450

git-svn-id: trunk@43696 -
florian 5 years ago
parent
commit
fe7d7aa1e7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/systems/t_bsd.pas
  2. 1 1
      utils/fppkg/fpmake.pp

+ 1 - 1
compiler/systems/t_bsd.pas

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

+ 1 - 1
utils/fppkg/fpmake.pp

@@ -8,7 +8,7 @@ uses fpmkunit;
 procedure add_fppkg_util(const ADirectory: string);
 procedure add_fppkg_util(const ADirectory: string);
 
 
 const
 const
-  lnetOSes = [linux,beos,haiku,freebsd,netbsd,openbsd,darwin,iphonesim,solaris,win32,win64,wince,aix];
+  lnetOSes = [linux,beos,haiku,freebsd,netbsd,openbsd,darwin,iphonesim,solaris,win32,win64,wince,aix,dragonfly];
   WindowsOSes = [win32,win64,wince];
   WindowsOSes = [win32,win64,wince];
 Var
 Var
   P : TPackage;
   P : TPackage;