diff mbox series

[meta-oe,10/12] opentelemetry-cpp: Link with libatomic on rv32

Message ID 20240917060424.1692067-10-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,01/12] protobuf-c: Link with libatomic on riscv32 | expand

Commit Message

Khem Raj Sept. 17, 2024, 6:04 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb   | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb
index c7004cc78d..1d86f1abce 100644
--- a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb
+++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb
@@ -15,6 +15,8 @@  SRCREV = "baecbb95bd63df53e0af16e87bc683967962c5f8"
 S = "${WORKDIR}/git"
 inherit cmake pkgconfig lib_package
 
+LDFLAGS:append:riscv32 = " -latomic"
+
 PACKAGECONFIG ?= "opentelemety_install otlp_api"
 
 PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF"