diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-09-16 21:22:48 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-17 07:50:23 -0700 |
| commit | 2b9f166f28039f80d1c54d1541802daa845d5e25 (patch) | |
| tree | 6dfb5335417e6be1d2c3fcfaa06a6d318cc65619 | |
| parent | dd0d94aafe9bf7c68e0cedec2902e6015e182256 (diff) | |
| download | meta-openembedded-2b9f166f28039f80d1c54d1541802daa845d5e25.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb index 4a0baf5fa6..f25c5a8f95 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb | |||
| @@ -67,6 +67,8 @@ ICU ?= "--with-system-icu" | |||
| 67 | ICU:mipsarch = "" | 67 | ICU:mipsarch = "" |
| 68 | ICU:powerpc:toolchain-clang = "" | 68 | ICU:powerpc:toolchain-clang = "" |
| 69 | 69 | ||
| 70 | LDFLAGS:append:riscv32 = " -latomic" | ||
| 71 | |||
| 70 | do_configure() { | 72 | do_configure() { |
| 71 | cd ${B} | 73 | cd ${B} |
| 72 | python3 ${S}/configure.py \ | 74 | python3 ${S}/configure.py \ |
