summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdewebdev/tdewebdev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdewebdev/tdewebdev.spec')
-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