From b3154fbdf58156daf7b42d8c84ef65d399c838a1 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') diff --git a/redhat/applications/k3b/k3b.spec b/redhat/applications/k3b/k3b.spec index 7d2da140f..39e494225 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