libcereal: Link in libatomic on rv32 for ptests
PATCH 1/1 libcereal: Link in libatomic on rv32 for ptests
Signed-off-by Khem Raj <[email protected]>
--- 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
@@ -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