From dd0d94aafe9bf7c68e0cedec2902e6015e182256 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 16 Sep 2024 20:49:45 -0700 Subject: opentelemetry-cpp: Link with libatomic on rv32 Signed-off-by: Khem Raj --- meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3-54-g00ecf