* 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>
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}"
}