[packages/snappy] - bumped C++ standard to 17 as required by gtest
qboosh
qboosh at pld-linux.org
Thu Dec 25 19:32:31 CET 2025
commit b1ffef0ef86160ba94cf297644ff9ecf772f121d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Dec 25 19:32:09 2025 +0100
- bumped C++ standard to 17 as required by gtest
snappy.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/snappy.spec b/snappy.spec
index ef7ea4c..4929667 100644
--- a/snappy.spec
+++ b/snappy.spec
@@ -17,7 +17,7 @@ Source1: %{name}.pc.in
Patch0: %{name}-gtest.patch
URL: http://google.github.io/snappy/
BuildRequires: cmake >= 3.10
-BuildRequires: libstdc++-devel >= 6:5
+BuildRequires: libstdc++-devel >= 6:7
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.605
%if %{with tests}
@@ -107,7 +107,7 @@ install -d build-static
cd build-static
%cmake .. \
-DBUILD_SHARED_LIBS=OFF \
- -DCMAKE_CXX_STANDARD=14 \
+ -DCMAKE_CXX_STANDARD=17 \
-DSNAPPY_BUILD_BENCHMARKS=OFF \
%{!?with_tests:-DSNAPPY_BUILD_TESTS=OFF}
@@ -118,7 +118,7 @@ cd ..
install -d build
cd build
%cmake .. \
- -DCMAKE_CXX_STANDARD=14 \
+ -DCMAKE_CXX_STANDARD=17 \
-DSNAPPY_BUILD_BENCHMARKS=OFF \
%{!?with_tests:-DSNAPPY_BUILD_TESTS=OFF}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/snappy.git/commitdiff/b416f54de90f0c13c127613cc90aefee68120282
More information about the pld-cvs-commit
mailing list