diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-09-16 20:49:45 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-17 07:50:22 -0700 |
commit | dd0d94aafe9bf7c68e0cedec2902e6015e182256 (patch) | |
tree | e3f7b2f02c490b6f203d897d9dd7bfc7dcfa6637 | |
parent | 0dffbbc0c72449c0631bd397e690b8144fe87793 (diff) | |
download | meta-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.bb | 2 |
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" | |||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | inherit cmake pkgconfig lib_package | 16 | inherit cmake pkgconfig lib_package |
17 | 17 | ||
18 | LDFLAGS:append:riscv32 = " -latomic" | ||
19 | |||
18 | PACKAGECONFIG ?= "opentelemety_install otlp_api" | 20 | PACKAGECONFIG ?= "opentelemety_install otlp_api" |
19 | 21 | ||
20 | PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF" | 22 | PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF" |