From dbefdb07d1a6c05d393e2b4a9654192a659dd6ae Mon Sep 17 00:00:00 2001 From: jammyjellyfish Date: Fri, 21 Apr 2023 16:54:39 +0800 Subject: [PATCH] Support specify CC --- boost.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/boost.spec b/boost.spec index 4688d5c..fb86329 100644 --- a/boost.spec +++ b/boost.spec @@ -2,7 +2,7 @@ Name: boost Version: 1.81.0 -Release: 1 +Release: 2 Summary: The free peer-reviewed portable C++ source libraries License: BSL-1.0 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} %build -./bootstrap.sh +./bootstrap.sh --with-toolset=%toolchain %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 @@ -444,6 +444,9 @@ find libs -name example -exec cp {} boost-example --parents -r \; %{_libdir}/*.a %changelog +* Fri Apr 21 2023 jammyjellyfish - 1.81.0-2 +- Support specify CC + * Mon Dec 19 2022 Liu Zixian - 1.81.0-1 - Update to 1.81.0 -- Gitee