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

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

 



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);

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux