From 026be53fba23e4b66f3338ba5f62bc3ebef0ef18 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Apr 2022 17:40:16 -0700 Subject: [PATCH] boost-sml: Disable examples They fail to build with gcc 12 Signed-off-by: Khem Raj --- meta-oe/recipes-support/boost-sml/boost-sml_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/boost-sml/boost-sml_git.bb b/meta-oe/recipes-support/boost-sml/boost-sml_git.bb index 97c04899bf..e22eddb72d 100644 --- a/meta-oe/recipes-support/boost-sml/boost-sml_git.bb +++ b/meta-oe/recipes-support/boost-sml/boost-sml_git.bb @@ -19,7 +19,8 @@ S = "${WORKDIR}/git" inherit cmake # Building benchmarks takes a lot of time and requires additional headers (euml2.hpp) -EXTRA_OECMAKE:append = " -DSML_BUILD_BENCHMARKS:bool=OFF" +# Building examples fail with gcc-12 +EXTRA_OECMAKE:append = " -DSML_BUILD_BENCHMARKS:bool=OFF -DSML_BUILD_EXAMPLES=OFF" # [boost::ext].XML is a header only C++ library, so the main package will be empty. ALLOW_EMPTY:${PN} = "1"