diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-06-10 08:50:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-13 22:10:32 +0100 |
commit | d70ff3f5a6d4a5b162277be5431a55caf8d966bc (patch) | |
tree | 4d33a34eff360c64ba88801ef5ef1bfb0b5348d5 /meta/recipes-devtools/gcc | |
parent | 616f694b72c4445648de24850a06e4e8d90d64b2 (diff) | |
download | poky-d70ff3f5a6d4a5b162277be5431a55caf8d966bc.tar.gz |
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 <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_13.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
2 | require libgcc.inc | 2 | require libgcc.inc |
3 | 3 | ||
4 | LDFLAGS += "-fuse-ld=bfd" | ||
5 | |||
4 | # Building with thumb enabled on armv6t fails | 6 | # Building with thumb enabled on armv6t fails |
5 | ARM_INSTRUCTION_SET:armv6 = "arm" | 7 | ARM_INSTRUCTION_SET:armv6 = "arm" |