From 63584aeba977af0a63f97b9902dc3429bdf1e738 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 7 Aug 2025 21:37:13 -0700 Subject: [PATCH] tomlplusplus: Fix test failures with clang/libcxx Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb index da8b1602be..074c9b6f75 100644 --- a/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb +++ b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb @@ -17,6 +17,10 @@ inherit meson ptest pkgconfig EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \ " +# See - https://github.com/marzer/tomlplusplus/issues/279 +CXXFLAGS:append:toolchain-clang = " -stdlib=libstdc++" +LDFLAGS:append:toolchain-clang = " -stdlib=libstdc++" + do_install_ptest () { install -d ${D}${PTEST_PATH}/tests cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests