From d70ff3f5a6d4a5b162277be5431a55caf8d966bc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 10 Jun 2023 08:50:22 -0700 Subject: 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 (From OE-Core rev: 856b4ec58fd5391069eaf43ab1b7426d49d9b7de) Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/libgcc_13.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/gcc') diff --git a/meta/recipes-devtools/gcc/libgcc_13.1.bb b/meta/recipes-devtools/gcc/libgcc_13.1.bb index f88963b0a4..fdcd6cc0da 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" -- cgit v1.2.3-54-g00ecf