From: Pascal Packaging Team Date: Sun, 12 Nov 2017 16:13:55 +0000 (+0000) Subject: use-bfd-explicitly X-Git-Tag: archive/raspbian/3.0.4+dfsg-2+rpi1^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d6ea9868df37b6bd0c789038c21ab7a80e5c0514;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 0b84f61f..cdfcac06 100644 --- a/fpcsrc/compiler/systems/t_linux.pas +++ b/fpcsrc/compiler/systems/t_linux.pas @@ -1097,7 +1097,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 @@ -1152,7 +1152,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