From 358be3a0502e3ccc52f2083a45bbf47eb6a6c018 Mon Sep 17 00:00:00 2001 From: ouuleilei Date: Sat, 6 May 2023 14:25:30 +0800 Subject: [PATCH] Add CXXFLAGS to fix build error --- source-highlight.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source-highlight.spec b/source-highlight.spec index f2129e3..84ff038 100644 --- a/source-highlight.spec +++ b/source-highlight.spec @@ -1,6 +1,6 @@ Name: source-highlight Version: 3.1.9 -Release: 2 +Release: 3 Summary: Source Code Highlighter with Support for Many Languages License: GPLv3+ URL: http://www.gnu.org/software/src-highlite @@ -35,6 +35,7 @@ Header files for source-highlight %autosetup -n %{name}-%{version} -p1 %build +export CXXFLAGS="-std=c++11" %configure --with-boost-regex=boost_regex %make_build @@ -83,6 +84,9 @@ popd %exclude %{_datadir}/info/dir %changelog +* Sat May 6 2023 wangliu - 3.1.9-3 +- Add CXXFLAGS to fix build error + * Mon Aug 02 2021 chenyanpanHW - 3.1.9-2 - DESC: delete -S git from %autosetup, and delete BuildRequires git -- Gitee