Skip to contentSkip to conversation

libcereal: Link in libatomic on rv32 for ptests

PATCH New Khem Raj 1 participant 1 message Apr 11, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libcereal: Link in libatomic on rv32 for ptests

---
 meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb +1 -0
index fb37de3c30..b76cd2eb60 100644
@@ -27,6 +27,7 @@ S = "${WORKDIR}/git"
 inherit cmake pkgconfig ptest
 
 LIBATOMIC:mips:toolchain-clang = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCEREAL_THREAD_LIBS="-latomic"', '', d)}"
+LIBATOMIC:riscv32:toolchain-clang = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCEREAL_THREAD_LIBS="-latomic"', '', d)}"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}"
 PACKAGECONFIG[with-tests] = "-DWITH_WERROR=OFF -DBUILD_TESTS=ON ${LIBATOMIC},,"
Signature · 1 line
2.35.1