diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-08-07 21:37:13 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-08-07 21:58:51 -0700 |
commit | 63584aeba977af0a63f97b9902dc3429bdf1e738 (patch) | |
tree | 2869efffe8c931f1a9504bfb724215ca1d6eba7c | |
parent | eea415cfbd0d2f3f8e857e25965b6bf72c0bee6c (diff) | |
download | meta-openembedded-63584aeba977af0a63f97b9902dc3429bdf1e738.tar.gz |
tomlplusplus: Fix test failures with clang/libcxx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
17 | EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \ | 17 | EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \ |
18 | " | 18 | " |
19 | 19 | ||
20 | # See - https://github.com/marzer/tomlplusplus/issues/279 | ||
21 | CXXFLAGS:append:toolchain-clang = " -stdlib=libstdc++" | ||
22 | LDFLAGS:append:toolchain-clang = " -stdlib=libstdc++" | ||
23 | |||
20 | do_install_ptest () { | 24 | do_install_ptest () { |
21 | install -d ${D}${PTEST_PATH}/tests | 25 | install -d ${D}${PTEST_PATH}/tests |
22 | cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests | 26 | cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests |