mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 12:43:33 +00: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…
x
Reference in New Issue
Block a user