From: Pascal Packaging Team Date: Wed, 8 Feb 2017 09:53:35 +0000 (+0000) Subject: use-bfd-explicitly X-Git-Tag: archive/raspbian/3.0.0+dfsg-11+rpi1^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8bfff75cce81177338d27c21d169cb0a27e08c60;p=fpc.git use-bfd-explicitly Gbp-Pq: Name use-bfd-explicitly.diff --- diff --git a/fpcsrc/compiler/systems/t_linux.pas b/fpcsrc/compiler/systems/t_linux.pas index 3feda313..67a11576 100644 --- a/fpcsrc/compiler/systems/t_linux.pas +++ b/fpcsrc/compiler/systems/t_linux.pas @@ -1095,7 +1095,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 @@ -1150,7 +1150,7 @@ begin Replace(cmdstr,'$INIT',InitStr); Replace(cmdstr,'$FINI',FiniStr); Replace(cmdstr,'$SONAME',SoNameStr); - success:=DoExec(FindUtil(utilsprefix+binstr),cmdstr,true,false); + success:=DoExec(FindUtil(utilsprefix+binstr)+'.bfd',cmdstr,true,false); { Strip the library ? } if success and (cs_link_strip in current_settings.globalswitches) then