[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: "ERROR: No build ID note found in" while building fpc (Freepascal compiler)



This looks like it might be a sufficient hack, not that I really know this code.

--- fpcbuild-2.2.0/fpcsrc/compiler/systems/t_linux.pas
+++ fpcbuild-2.2.0/fpcsrc/compiler/systems/t_linux.pas
@@ -828,7 +828,7 @@ begin
 { Call linker }
   SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
   Replace(cmdstr,'$EXE',maybequoted(current_module.exefilename^));
-  Replace(cmdstr,'$OPT',Info.ExtraOptions);
+  Replace(cmdstr,'$OPT',Info.ExtraOptions+' --build-id');
   Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
   Replace(cmdstr,'$STATIC',StaticStr);
   Replace(cmdstr,'$STRIP',StripStr);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]