From: Khem Raj Date: Thu, 27 Jul 2023 06:58:27 +0000 (-0700) Subject: ffmpeg: Use bfd linker on i386 when lld is distro linker default X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~270 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc155090b8cfb62f1114b3e5f86fc4dacfb3bc89;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ffmpeg: Use bfd linker on i386 when lld is distro linker default Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb index 181c17d9d68..1d80fd92949 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb @@ -133,6 +133,7 @@ EXTRA_OECONF:append:powerpc = " --extra-libs=-latomic" # ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684 LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" +LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -fuse-ld=bfd ', '', d)}" EXTRA_OEMAKE = "V=1"