summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-11-01 21:45:23 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-11-01 21:47:22 +0100
commitb3154fbdf58156daf7b42d8c84ef65d399c838a1 (patch)
treed134c23cd938dbc044012ffa2a0bc211655610fe /redhat
parentfcb53a5ce55ccef6ea0038a22fd09f515be2f6c8 (diff)
downloadtde-packaging-b3154fbdf58156daf7b42d8c84ef65d399c838a1.tar.gz
tde-packaging-b3154fbdf58156daf7b42d8c84ef65d399c838a1.zip
RPM: update k3b
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/k3b/k3b.spec4
1 files changed, 4 insertions, 0 deletions
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