From f73e8b0789f995320de6702bafd3a1698cbf9df5 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 28 Jul 2020 09:46:22 -0600 Subject: [PATCH] Force C++14 as this code is not C++17 ready --- glog.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/glog.spec b/glog.spec index 68d594b..ad52d08 100644 --- a/glog.spec +++ b/glog.spec @@ -1,6 +1,6 @@ Name: glog Version: 0.3.5 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A C++ application logging library License: BSD URL: https://github.com/google/glog @@ -31,6 +31,7 @@ developing applications that use %{name}. %autosetup %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" autoconf %configure --disable-static %make_build @@ -55,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} %changelog +* Tue Jul 28 2020 Jeff Law - 0.3.5-11 +- Force C++14 as this code is not C++17 ready + * Mon Jul 27 2020 Fedora Release Engineering - 0.3.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild