From ae9cfff951e9fc5aca6137a3df95e0c5b0ee43e2 Mon Sep 17 00:00:00 2001 From: jammyjellyfish Date: Fri, 21 Apr 2023 16:54:39 +0800 Subject: [PATCH] Support specify CC Signed-off-by: shafeipaozi --- boost.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/boost.spec b/boost.spec index d6d53ca..6898290 100644 --- a/boost.spec +++ b/boost.spec @@ -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 - 1.83.0-3 +- Support specify CC + * Sat Mar 2 2024 Wenlong Zhang - 1.83.0-2 - No libquadmath-devel libquadmath-static on loongarch64 -- Gitee