From a7dddae00cfb4e7c9ee73afc7f6561e239478fa7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 3 Sep 2022 02:01:06 -0700 Subject: [PATCH] nlohmann-fifo: Disable cpp11 shuffle with clang/libc++ it does not compile with clang15 based libc++ Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb index 5a130ebda4..b5d05d40e5 100644 --- a/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb +++ b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb @@ -20,6 +20,9 @@ RDEPENDS:${PN}-dev = "" BBCLASSEXTEND = "native nativesdk" +# See https://github.com/SOCI/soci/issues/984 +CXXFLAGS:append:toolchain-clang:runtime-llvm = " -DCATCH_CONFIG_CPP11_NO_SHUFFLE" + do_install() { install -d ${D}${includedir} install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}