!104 fix statechart test
From: @sdlzx Reviewed-by: @liqingqing_1229 Signed-off-by: @liqingqing_1229
This commit is contained in:
commit
70cc0c2535
@ -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 <liuzixian4@huawei.com> - 1.80.0-5
|
||||
- statechart: avoid undefined behavior
|
||||
|
||||
* Fri Dec 02 2022 Liu Zixian <liuzixian4@huawei.com> - 1.80.0-4
|
||||
- Skip gcc value init check
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user