]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
efivar: drop -fuse-ld=bfd
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 31 Jul 2023 20:17:32 +0000 (22:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Aug 2023 10:44:25 +0000 (11:44 +0100)
* upstream doesn't use --add-needed since:
  b23aba1 Remove deprecated --add-needed linker flag
  https://github.com/rhboot/efivar/pull/218/commits/b23aba1469de8bb7a115751f9cd294ad3aaa6680

  which is already included in the source since:
  "efivar: Upgrade to tip of trunk"
  https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/efivar/efivar_38.bb

index 87a1e665ca627925c9c1988ae7faff368c8ea1fc..411e951a5a06d35480a370c089aa9cb8057f873b 100644 (file)
@@ -19,10 +19,6 @@ inherit pkgconfig
 
 export CCLD_FOR_BUILD = "${BUILD_CCLD}"
 
-# Upstream uses --add-needed in gcc.specs which gold doesn't support, so
-# enforce BFD.
-LDFLAGS += "-fuse-ld=bfd"
-
 do_compile() {
     oe_runmake ERRORS= HOST_CFLAGS="${BUILD_CFLAGS}" HOST_LDFLAGS="${BUILD_LDFLAGS}"
 }