!128 Fix Support specify CC

From: @shafeipaozi 
Reviewed-by: @luofeng14, @liyunfei33, @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2024-03-28 03:40:44 +00:00 committed by Gitee
commit dcf73bd889
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: boost
Version: 1.83.0
Release: 2
Release: 3
Summary: The free peer-reviewed portable C++ source libraries
License: BSL-1.0
URL: http://www.boost.org
@ -281,7 +281,7 @@ as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}).
%autosetup -p1 -n %{name}_%{version_enc}
%build
./bootstrap.sh
./bootstrap.sh --with-toolset=%{__cc}
%define opt_build -d+2 -q %{?_smp_mflags} --no-cmake-config
%define opt_feature release debug-symbols=on pch=off
%define opt_libs --without-mpi --without-graph_parallel
@ -450,6 +450,9 @@ find libs -name example -exec cp {} boost-example --parents -r \;
%{_libdir}/*.a
%changelog
* Thu Mar 14 2024 jammyjellyfish <jammyjellyfish255@outlook.com> - 1.83.0-3
- Support specify CC
* Sat Mar 2 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.83.0-2
- No libquadmath-devel libquadmath-static on loongarch64