summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/koffice.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2020-01-18 20:25:10 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2020-01-18 20:29:30 +0100
commit685d3568bfc83de6ab77e5f817edb1d3514db323 (patch)
tree3117025b53d311ef9be0142b4d33472c1e962c7e /redhat/applications/koffice/koffice.spec
parent43ce0a2b329dbb0b4575e19f8b456c838d117b16 (diff)
downloadtde-packaging-685d3568bfc83de6ab77e5f817edb1d3514db323.tar.gz
tde-packaging-685d3568bfc83de6ab77e5f817edb1d3514db323.zip
RPM: various update to build 14.0.7
Diffstat (limited to 'redhat/applications/koffice/koffice.spec')
-rw-r--r--redhat/applications/koffice/koffice.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/koffice/koffice.spec b/redhat/applications/koffice/koffice.spec
index 411dd344e..6525e00cb 100644
--- a/redhat/applications/koffice/koffice.spec
+++ b/redhat/applications/koffice/koffice.spec
@@ -1066,7 +1066,11 @@ export kde_confdir="%{tde_confdir}"
%if 0%{?suse_version} == 1220
RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])')
-export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
+CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
+%endif
+
+%if 0%{?suse_version} >= 1550
+CXXFLAGS="${CXXFLAGS} -std=c++11"
%endif
# FTBFS on RHEL 5