Message ID | 20230131064830.2011716-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] mongodb: Use bfd linker for x86/musl with gcc | expand |
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index 56512a2e2e..253187e33c 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -74,6 +74,10 @@ WIREDTIGER ?= "off" WIREDTIGER:x86-64 = "on" WIREDTIGER:aarch64 = "on" +# ld.gold: fatal error: build/59f4f0dd/mongo/mongod: Structure needs cleaning +LDFLAGS:append:x86:libc-musl = " -fuse-ld=bfd" +LDFLAGS:remove:toolchain-clang = "-fuse-ld=bfd" + EXTRA_OESCONS = "PREFIX=${prefix} \ DESTDIR=${D} \ MAXLINELENGTH='2097152' \
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../meta-python/recipes-dbs/mongodb/mongodb_git.bb | 4 ++++ 1 file changed, 4 insertions(+)