mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
libcereal: Link in libatomic on rv32 for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a3dab74a89
commit
668ed5c5c9
|
|
@ -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},,"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user