Sfoglia il codice sorgente

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

Cc: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 1 settimana fa
parent
commit
643751548d

+ 2 - 1
meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb

@@ -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