mongodb: Use bfd linker for x86/musl with gcc
PATCH 1/1 mongodb: Use bfd linker for x86/musl with gcc
Signed-off-by Khem Raj <[email protected]>
--- .../meta-python/recipes-dbs/mongodb/mongodb_git.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +4 -0
@@ -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' \
Signature · 1 line
2.39.1