Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37538258
en ru br
ALT Linux repos
S:3.2.2-alt4
D:2.2.2-alt1
5.0: 2.2.4-alt1
4.1: 2.2.0-alt3
4.0: 2.2.0-alt2
3.0: 1.0.10-alt1

Group :: Development/Other
RPM: fpc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fpc-use-bfd-explicitly.patch
Download


diff --git a/fpcbuild/fpcsrc/compiler/systems/t_linux.pas b/fpcbuild/fpcsrc/compiler/systems/t_linux.pas
index 0a4af94..dbc2e7b 100644
--- a/fpcbuild/fpcsrc/compiler/systems/t_linux.pas
+++ b/fpcbuild/fpcsrc/compiler/systems/t_linux.pas
@@ -1409,7 +1409,7 @@ begin
   if HasExports then
     cmdstr:=cmdstr+' -E';
 
-  success:=DoExec(FindUtil(utilsprefix+BinStr),CmdStr,true,false);
+  success:=DoExec(FindUtil(utilsprefix+BinStr)+'.bfd',CmdStr,true,false);
 
   { Create external .dbg file with debuginfo }
   if success and (cs_link_separate_dbg_file in current_settings.globalswitches) then
@@ -1420,7 +1420,7 @@ begin
           Replace(cmdstr,'$EXE',maybequoted(current_module.exefilename));
           Replace(cmdstr,'$DBGFN',maybequoted(extractfilename(current_module.dbgfilename)));
           Replace(cmdstr,'$DBG',maybequoted(current_module.dbgfilename));
-          success:=DoExec(FindUtil(utilsprefix+BinStr),CmdStr,true,false);
+          success:=DoExec(FindUtil(utilsprefix+BinStr)+'.bfd',CmdStr,true,false);
           if not success then
             break;
         end;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin