mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
libcereal: Link in libatomic on rv32 for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
1 parent
a3dab74a89
commit
668ed5c5c9
1 file changed
+1
@@ -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},,"
|
||||
|
||||
Reference in new issue
Block a user