]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
efivar: backport 5 patches to fix build with gold
authorMartin Jansa <martin.jansa@gmail.com>
Mon, 31 Jul 2023 20:30:01 +0000 (22:30 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 5 Sep 2023 23:34:12 +0000 (13:34 -1000)
commitd5c7ec0be32aa75fa7973840adf5251d22018766
tree772dec4d6b61f29b142371a8b1554d14225dfec7
parenta30e51b8d13912f0d68bfffcd2d8ae6431d2b863
efivar: backport 5 patches to fix build with gold

* LDFLAGS += "-fuse-ld=bfd" in the recipe doesn't work and
  it still fails to build with ld-is-gold in DISTRO_FEATURES

  removal of this line sent to master in:
  https://lists.openembedded.org/g/openembedded-core/message/185167

* the most important ones are the 1st which removes --add-needed
  and the last which removes src/include/workarounds.mk completely
  while 2-4 patches just update src/include/workarounds.mk for the
  last one to apply cleanly

* alternatively we can bump SRCREV to latest 38 as master did in:
  https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0
  which brings 23 commits, but instead of adding 5 more patches
  allows to remove 5

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-bsp/efivar/efivar/0001-Remove-deprecated-add-needed-linker-flag.patch [new file with mode: 0644]
meta/recipes-bsp/efivar/efivar/0002-Add-T-workaround-for-GNU-ld-2.36.patch [new file with mode: 0644]
meta/recipes-bsp/efivar/efivar/0003-Set-LC_ALL-C-to-force-English-output-from-ld.patch [new file with mode: 0644]
meta/recipes-bsp/efivar/efivar/0004-LLD-fix-detection-and-remove-not-needed-workarounds.patch [new file with mode: 0644]
meta/recipes-bsp/efivar/efivar/0005-Revamp-efi_well_known_-variable-handling.patch [new file with mode: 0644]
meta/recipes-bsp/efivar/efivar_38.bb