diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-09 07:08:52 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-10 10:05:35 -0700 |
commit | 668ed5c5c9be5ea95e4cd566d4d7fc5cf5a6c66a (patch) | |
tree | 76d4ff4ca3080f655fa91bf6bdf7a077ffc69a74 /meta-oe/recipes-support | |
parent | a3dab74a890d2b1e481d436e94f24e9109268019 (diff) | |
download | meta-openembedded-contrib-668ed5c5c9be5ea95e4cd566d4d7fc5cf5a6c66a.tar.gz |
libcereal: Link in libatomic on rv32 for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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},," |