support specify cc

This commit is contained in:
jammyjellyfish 2023-04-21 16:54:39 +08:00 committed by luofeng14
parent 9669d89ea9
commit 75903eabca

View File

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