Message ID | 20220413053455.1460109-2-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-networking,1/2] opensaf: Fix build with gcc 12 | expand |
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"
They fail to build with gcc 12 Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-support/boost-sml/boost-sml_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)