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 | |
| parent | a3dab74a890d2b1e481d436e94f24e9109268019 (diff) | |
| download | meta-openembedded-668ed5c5c9be5ea95e4cd566d4d7fc5cf5a6c66a.tar.gz | |
libcereal: Link in libatomic on rv32 for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -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" | |||
| 27 | inherit cmake pkgconfig ptest | 27 | inherit cmake pkgconfig ptest |
| 28 | 28 | ||
| 29 | LIBATOMIC:mips:toolchain-clang = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCEREAL_THREAD_LIBS="-latomic"', '', d)}" | 29 | LIBATOMIC:mips:toolchain-clang = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCEREAL_THREAD_LIBS="-latomic"', '', d)}" |
| 30 | LIBATOMIC:riscv32:toolchain-clang = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCEREAL_THREAD_LIBS="-latomic"', '', d)}" | ||
| 30 | 31 | ||
| 31 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}" | 32 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}" |
| 32 | PACKAGECONFIG[with-tests] = "-DWITH_WERROR=OFF -DBUILD_TESTS=ON ${LIBATOMIC},," | 33 | PACKAGECONFIG[with-tests] = "-DWITH_WERROR=OFF -DBUILD_TESTS=ON ${LIBATOMIC},," |
