mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
mozjs-115: Fix build on riscv32
Link with libatomic explicitly, fixes riscv32-yoe-linux-ld.lld: error: undefined symbol: __atomic_store_8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -67,6 +67,8 @@ ICU ?= "--with-system-icu"
|
|||||||
ICU:mipsarch = ""
|
ICU:mipsarch = ""
|
||||||
ICU:powerpc:toolchain-clang = ""
|
ICU:powerpc:toolchain-clang = ""
|
||||||
|
|
||||||
|
LDFLAGS:append:riscv32 = " -latomic"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd ${B}
|
cd ${B}
|
||||||
python3 ${S}/configure.py \
|
python3 ${S}/configure.py \
|
||||||
|
|||||||
Reference in New Issue
Block a user