From 668ed5c5c9be5ea95e4cd566d4d7fc5cf5a6c66a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 9 Apr 2022 07:08:52 -0700 Subject: libcereal: Link in libatomic on rv32 for ptests Signed-off-by: Khem Raj --- meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb') diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb b/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb index fb37de3c30..b76cd2eb60 100644 --- a/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb +++ b/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb @@ -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},," -- cgit v1.2.3-54-g00ecf