From 862e32b82ae2fac561b7ad2269e62786565fc2dc Mon Sep 17 00:00:00 2001 From: Liu Zixian Date: Thu, 8 Dec 2022 21:11:18 +0800 Subject: [PATCH] fix statechart test --- boost.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/boost.spec b/boost.spec index 580cdfb..ab67f94 100644 --- a/boost.spec +++ b/boost.spec @@ -2,7 +2,7 @@ Name: boost Version: 1.80.0 -Release: 4 +Release: 5 Summary: The free peer-reviewed portable C++ source libraries License: BSL-1.0 URL: http://www.boost.org @@ -274,8 +274,8 @@ as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}). %define opt_feature release debug-symbols=on pch=off %define opt_libs --without-mpi --without-graph_parallel %define b2_options %{opt_build} %{opt_feature} %{opt_libs} -%define boost_macros BOOST_NO_AUTO_PTR -./b2 %{b2_options} cxxflags="$RPM_OPT_FLAGS" define=%{boost_macros} +%define boost_macros define=BOOST_NO_AUTO_PTR define=BOOST_STATECHART_USE_NATIVE_RTTI +./b2 %{b2_options} cxxflags="$RPM_OPT_FLAGS" %{boost_macros} %check (cd status @@ -430,6 +430,9 @@ find libs -name example -exec cp {} boost-example --parents -r \; %{_libdir}/*.a %changelog +* Thu Dec 08 2022 Liu Zixian - 1.80.0-5 +- statechart: avoid undefined behavior + * Fri Dec 02 2022 Liu Zixian - 1.80.0-4 - Skip gcc value init check -- Gitee