From: Khem Raj Date: Sat, 10 Jun 2023 15:50:22 +0000 (-0700) Subject: libgcc: Always use BFD linker X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~691 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=856b4ec58fd5391069eaf43ab1b7426d49d9b7de;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libgcc: Always use BFD linker libgcc is linked with GNU BFD linker make sure it does not assume default ld to be BFD linker rather demand it explicitly Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-devtools/gcc/libgcc_13.1.bb b/meta/recipes-devtools/gcc/libgcc_13.1.bb index f88963b0a42..fdcd6cc0da1 100644 --- a/meta/recipes-devtools/gcc/libgcc_13.1.bb +++ b/meta/recipes-devtools/gcc/libgcc_13.1.bb @@ -1,5 +1,7 @@ require recipes-devtools/gcc/gcc-${PV}.inc require libgcc.inc +LDFLAGS += "-fuse-ld=bfd" + # Building with thumb enabled on armv6t fails ARM_INSTRUCTION_SET:armv6 = "arm"