002-strip_note_gnu_build_id.patch 781 B

12345678910111213141516171819202122
  1. --- a/stage1/Makefile.in
  2. +++ b/stage1/Makefile.in
  3. @@ -427,7 +427,7 @@ uninstall-am: uninstall-info-am uninstal
  4. uninstall-nodist_pkglibDATA
  5. .exec:
  6. - $(OBJCOPY) -O binary $< $@
  7. + $(OBJCOPY) -O binary -R .comment -R .note -R .note.gnu.build-id $< $@
  8. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  9. # Otherwise a system limit (for SysV at least) may be exceeded.
  10. .NOEXPORT:
  11. --- a/stage2/Makefile.in
  12. +++ b/stage2/Makefile.in
  13. @@ -3244,7 +3244,7 @@ pxegrub: pxeloader diskless
  14. -rm -f $@
  15. cat $^ > $@
  16. .exec:
  17. - $(OBJCOPY) -O binary $< $@
  18. + $(OBJCOPY) -O binary -R .comment -R .note -R .note.gnu.build-id $< $@
  19. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  20. # Otherwise a system limit (for SysV at least) may be exceeded.
  21. .NOEXPORT: