Skip to contentSkip to conversation

webrtc-audio-processing-2: Add latomic to linker flags on riscv32

PATCH New Khem Raj 1 participant 1 message May 23, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 webrtc-audio-processing-2: Add latomic to linker flags on riscv32

This is flagged by lld linker since it defaults to --no-allow-shlib-undefined which disallows undefined references in shared libs

---
 .../webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb +2 -1
index 00bf26c750..8eab2c4ff0 100644
@@ -16,5 +16,6 @@ SRC_URI[sha256sum] = "ae9302824b2038d394f10213cab05312c564a038434269f11dbf68f511
 S = "${WORKDIR}/webrtc-audio-processing-${PV}"
 
 LDFLAGS:append:libc-musl = " -lexecinfo"
-
+# | riscv32-yoe-linux-musl-ld.lld: error: undefined reference: __atomic_store_8
+LDFLAGS:append:riscv32 = " -latomic"
 inherit meson pkgconfig