From 8d09515be8710b7835aa8fb11b9bed51fc57b012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 1 Nov 2021 21:45:23 +0100 Subject: RPM: update k3b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/applications/k3b/k3b.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'redhat/applications') diff --git a/redhat/applications/k3b/k3b.spec b/redhat/applications/k3b/k3b.spec index 216bebdf9..92c41d4f6 100644 --- a/redhat/applications/k3b/k3b.spec +++ b/redhat/applications/k3b/k3b.spec @@ -422,6 +422,10 @@ unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +%if 0%{?rhel} == 7 +RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -std=c++11" +%endif + if ! rpm -E %%cmake|grep -q "cd build"; then %__mkdir_p build cd build -- cgit v1.2.1