summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdewebdev
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2022-05-15 09:16:54 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2022-05-15 09:29:57 +0200
commit39aa474cf470a180a73ba313340b4c45d608930c (patch)
treefabfdc2a42a15602648977859c725a82e423a7a3 /redhat/main/tdewebdev
parent11b59120b4b653f7915851ada6673e3d38b032f8 (diff)
downloadtde-packaging-39aa474cf470a180a73ba313340b4c45d608930c.tar.gz
tde-packaging-39aa474cf470a180a73ba313340b4c45d608930c.zip
RPM: update build scripts for rhel6 to use cmake3
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/main/tdewebdev')
-rw-r--r--redhat/main/tdewebdev/tdewebdev.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/main/tdewebdev/tdewebdev.spec b/redhat/main/tdewebdev/tdewebdev.spec
index b42dbcefc..d6b7378da 100644
--- a/redhat/main/tdewebdev/tdewebdev.spec
+++ b/redhat/main/tdewebdev/tdewebdev.spec
@@ -484,6 +484,13 @@ fi
\
..
+# Strange cmake behaviour under rhel6
+%if 0%{?rhel} == 6
+grep -rl "CXX_FLAGS.*\"-O2" | while read file; do
+ sed -i "${file}" -e "s|\"||g"
+done
+%endif
+
%__make %{?_smp_mflags} || %__make