Message ID | 20230610155022.3999498-2-raj.khem@gmail.com |
---|---|
State | Accepted, archived |
Commit | 856b4ec58fd5391069eaf43ab1b7426d49d9b7de |
Headers | show |
Series | [1/2] glibc: Pass linker choice via compiler flags | expand |
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"
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> --- meta/recipes-devtools/gcc/libgcc_13.1.bb | 2 ++ 1 file changed, 2 insertions(+)