mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
mongodb: Use bfd linker for x86/musl with gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -74,6 +74,10 @@ WIREDTIGER ?= "off"
|
|||||||
WIREDTIGER:x86-64 = "on"
|
WIREDTIGER:x86-64 = "on"
|
||||||
WIREDTIGER:aarch64 = "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} \
|
EXTRA_OESCONS = "PREFIX=${prefix} \
|
||||||
DESTDIR=${D} \
|
DESTDIR=${D} \
|
||||||
MAXLINELENGTH='2097152' \
|
MAXLINELENGTH='2097152' \
|
||||||
|
|||||||
Reference in New Issue
Block a user