From: Martin Jansa Date: Mon, 31 Jul 2023 20:17:32 +0000 (+0200) Subject: efivar: drop -fuse-ld=bfd X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52572a930b8c3518e07010bafc2a1920d4a11884;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git efivar: drop -fuse-ld=bfd * 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-bsp/efivar/efivar_38.bb b/meta/recipes-bsp/efivar/efivar_38.bb index 87a1e665ca6..411e951a5a0 100644 --- a/meta/recipes-bsp/efivar/efivar_38.bb +++ b/meta/recipes-bsp/efivar/efivar_38.bb @@ -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}" }