nlohmann-fifo: Disable cpp11 shuffle with clang/libc++

it does not compile with clang15 based libc++

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-09-03 02:01:06 -07:00
parent aca683fb18
commit a7dddae00c

View File

@ -20,6 +20,9 @@ RDEPENDS:${PN}-dev = ""
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
# See https://github.com/SOCI/soci/issues/984
CXXFLAGS:append:toolchain-clang:runtime-llvm = " -DCATCH_CONFIG_CPP11_NO_SHUFFLE"
do_install() { do_install() {
install -d ${D}${includedir} install -d ${D}${includedir}
install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir} install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}