]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libgcc: Always use BFD linker
authorKhem Raj <raj.khem@gmail.com>
Sat, 10 Jun 2023 15:50:22 +0000 (08:50 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Jun 2023 21:10:29 +0000 (22:10 +0100)
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 <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/gcc/libgcc_13.1.bb

index f88963b0a42507a0a27c4750b730fbd122b05194..fdcd6cc0da10641836f96e40891e5faf32972a3f 100644 (file)
@@ -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"