diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-09-16 11:52:13 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-16 23:04:58 -0700 |
commit | 173a269579169974849bf773f009c21134e3a7ab (patch) | |
tree | 48aefddeabf9177669a618efd6bbc9738a2d539c | |
parent | d8c5a72788ab0f2e36aee16e6d9e7555537366a5 (diff) | |
download | meta-openembedded-173a269579169974849bf773f009c21134e3a7ab.tar.gz |
protobuf-c: Link with libatomic on riscv32
No 64bit atomic builtins provided by compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb index 24de6b8119..82aaf1bae6 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb | |||
@@ -36,3 +36,6 @@ RDEPENDS:${PN}-compiler = "protobuf-compiler" | |||
36 | RDEPENDS:${PN}-dev += "${PN}-compiler" | 36 | RDEPENDS:${PN}-dev += "${PN}-compiler" |
37 | 37 | ||
38 | BBCLASSEXTEND = "native nativesdk" | 38 | BBCLASSEXTEND = "native nativesdk" |
39 | |||
40 | # No 64bit atomics | ||
41 | LDFLAGS:append:riscv32 = " -latomic" | ||