diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-30 22:47:41 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-02-01 09:11:49 -0800 |
commit | 60084508a4f10d7cd136a41cae7882e99bf8b433 (patch) | |
tree | a8b456c84a6aa44d4851611f4ab12af815270ffa /meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb | |
parent | 6e3b7aa52718cdba83c324ee9424f65dbe61748c (diff) | |
download | meta-openembedded-60084508a4f10d7cd136a41cae7882e99bf8b433.tar.gz |
mongodb: Use bfd linker for x86/musl with gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb')
-rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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" | |||
74 | WIREDTIGER:x86-64 = "on" | 74 | WIREDTIGER:x86-64 = "on" |
75 | WIREDTIGER:aarch64 = "on" | 75 | WIREDTIGER:aarch64 = "on" |
76 | 76 | ||
77 | # ld.gold: fatal error: build/59f4f0dd/mongo/mongod: Structure needs cleaning | ||
78 | LDFLAGS:append:x86:libc-musl = " -fuse-ld=bfd" | ||
79 | LDFLAGS:remove:toolchain-clang = "-fuse-ld=bfd" | ||
80 | |||
77 | EXTRA_OESCONS = "PREFIX=${prefix} \ | 81 | EXTRA_OESCONS = "PREFIX=${prefix} \ |
78 | DESTDIR=${D} \ | 82 | DESTDIR=${D} \ |
79 | MAXLINELENGTH='2097152' \ | 83 | MAXLINELENGTH='2097152' \ |