use-bfd-explicitly
authorPascal Packaging Team <pkg-pascal-devel@lists.alioth.debian.org>
Wed, 8 Feb 2017 09:53:35 +0000 (09:53 +0000)
committerGraham Inggs <ginggs@debian.org>
Wed, 8 Feb 2017 09:53:35 +0000 (09:53 +0000)
Gbp-Pq: Name use-bfd-explicitly.diff

fpcsrc/compiler/systems/t_linux.pas

index 3feda31384299698da3cb770b904fd2a3b416d5e..67a115763746a60c5d0d1543cbd45cd54cb047f2 100644 (file)
@@ -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