summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-09-16 20:49:45 -0700
committerKhem Raj <raj.khem@gmail.com>2024-09-17 07:50:22 -0700
commitdd0d94aafe9bf7c68e0cedec2902e6015e182256 (patch)
treee3f7b2f02c490b6f203d897d9dd7bfc7dcfa6637
parent0dffbbc0c72449c0631bd397e690b8144fe87793 (diff)
downloadmeta-openembedded-dd0d94aafe9bf7c68e0cedec2902e6015e182256.tar.gz
opentelemetry-cpp: Link with libatomic on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.16.1.bb2
1 files changed, 2 insertions, 0 deletions
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 c7004cc78..1d86f1abc 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"
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16inherit cmake pkgconfig lib_package 16inherit cmake pkgconfig lib_package
17 17
18LDFLAGS:append:riscv32 = " -latomic"
19
18PACKAGECONFIG ?= "opentelemety_install otlp_api" 20PACKAGECONFIG ?= "opentelemety_install otlp_api"
19 21
20PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF" 22PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF"